From 83e51779ed7f84a81de1a05e86834577a0e57438 Mon Sep 17 00:00:00 2001 From: Joel Bodenmann Date: Mon, 19 Oct 2015 22:29:35 +0200 Subject: Adding new THREAD_RETURN macro to other ports --- src/gos/gos_freertos.h | 1 + 1 file changed, 1 insertion(+) (limited to 'src/gos/gos_freertos.h') 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 { -- cgit v1.2.3