diff options
Diffstat (limited to 'src/gos/gos_chibios.h')
-rw-r--r-- | src/gos/gos_chibios.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gos/gos_chibios.h b/src/gos/gos_chibios.h index c4755020..30a65423 100644 --- a/src/gos/gos_chibios.h +++ b/src/gos/gos_chibios.h @@ -56,6 +56,7 @@ typedef tprio_t threadpriority_t; #define DECLARE_THREAD_STACK(name, sz) WORKING_AREA(name, sz) #define DECLARE_THREAD_FUNCTION(fnName, param) threadreturn_t fnName(void *param) +#define THREAD_RETURN(retval) return retval #if CH_KERNEL_MAJOR == 2 typedef struct { |