From 9e66363817276214551079baba661d1daa449ff6 Mon Sep 17 00:00:00 2001 From: Joel Bodenmann Date: Sun, 9 Feb 2014 20:21:08 +0100 Subject: fixed macros --- src/gos/freertos.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src') diff --git a/src/gos/freertos.c b/src/gos/freertos.c index 77adf267..872807d1 100644 --- a/src/gos/freertos.c +++ b/src/gos/freertos.c @@ -12,6 +12,8 @@ #include "gfx.h" #include +#if GFX_USE_OS_FREERTOS + #if INCLUDE_vTaskDelay != 1 #error "GOS: INCLUDE_vTaskDelay must be defined in FreeRTOSConfig.h" #endif @@ -145,5 +147,4 @@ gfxThreadHandle gfxThreadCreate(void *stackarea, size_t stacksz, threadpriority_ #endif /* GFX_USE_OS_FREERTOS */ /** @} */ -#endif /* USE_UGFX */ -- cgit v1.2.3