aboutsummaryrefslogtreecommitdiffstats
path: root/src/gos/gos_freertos.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/gos/gos_freertos.c')
-rw-r--r--src/gos/gos_freertos.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/gos/gos_freertos.c b/src/gos/gos_freertos.c
index dbdfd22e..7b978738 100644
--- a/src/gos/gos_freertos.c
+++ b/src/gos/gos_freertos.c
@@ -26,7 +26,8 @@ void _gosInit(void)
{
#if !GFX_NO_OS_INIT
#error "GOS: Operating System initialization for FreeRTOS is not yet implemented in uGFX. Please set GFX_NO_OS_INIT to TRUE in your gfxconf.h"
- #else
+ #endif
+ #if !GFX_OS_INIT_NO_WARNING
#warning "GOS: Operating System initialization has been turned off. Make sure you call vTaskStartScheduler() before gfxInit() in your application!"
#endif
}