diff options
Diffstat (limited to 'src/gos/gos_freertos.c')
-rw-r--r-- | src/gos/gos_freertos.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/gos/gos_freertos.c b/src/gos/gos_freertos.c index 7c47aa40..ff424e70 100644 --- a/src/gos/gos_freertos.c +++ b/src/gos/gos_freertos.c @@ -33,7 +33,11 @@ void _gosInit(void) { #if GFX_OS_NO_INIT && !GFX_OS_INIT_NO_WARNING - #warning "GOS: Operating System initialization has been turned off. Make sure you call vTaskStartScheduler()." + #if GFX_COMPILER_WARNING_TYPE == GFX_COMPILER_WARNING_DIRECT + #warning "GOS: Operating System initialization has been turned off. Make sure you call vTaskStartScheduler()." + #elif GFX_COMPILER_WARNING_TYPE == GFX_COMPILER_WARNING_MACRO + COMPILER_WARNING("GOS: Operating System initialization has been turned off. Make sure you call vTaskStartScheduler().") + #endif #endif } |