diff options
Diffstat (limited to 'src/gos/gos_ecos.h')
-rw-r--r-- | src/gos/gos_ecos.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gos/gos_ecos.h b/src/gos/gos_ecos.h index be9037b6..cd5678df 100644 --- a/src/gos/gos_ecos.h +++ b/src/gos/gos_ecos.h @@ -46,6 +46,7 @@ typedef cyg_handle_t gfxThreadHandle; #define DECLARE_THREAD_STACK(name, sz) struct { cyg_thread t; unsigned char stk[sz]; } name[1] #define DECLARE_THREAD_FUNCTION(fnName, param) threadreturn_t fnName(cyg_addrword_t param) +#define THREAD_RETURN(retval) typedef struct { cyg_sem_t sem; |