diff options
Diffstat (limited to 'src/gos/gos_freertos.h')
-rw-r--r-- | src/gos/gos_freertos.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gos/gos_freertos.h b/src/gos/gos_freertos.h index d6dcf5c5..574e13ae 100644 --- a/src/gos/gos_freertos.h +++ b/src/gos/gos_freertos.h @@ -62,6 +62,7 @@ typedef portBASE_TYPE threadpriority_t; /* FreeRTOS will allocate the stack when creating the thread, so pass the size instead of a working area */ #define DECLARE_THREAD_STACK(name, sz) size_t *name = (size_t *)sz #define DECLARE_THREAD_FUNCTION(fnName, param) threadreturn_t fnName(void *param) +#define THREAD_RETURN(retval) portTickType MS2ST(portTickType ms); typedef struct { |