aboutsummaryrefslogtreecommitdiffstats
path: root/src/gos/rawrtos.c
diff options
context:
space:
mode:
authorinmarket <andrewh@inmarket.com.au>2014-07-29 12:00:47 +1000
committerinmarket <andrewh@inmarket.com.au>2014-07-29 12:00:47 +1000
commit9826378b9608362c4ad6efa3271e6f6de1e2b30e (patch)
treea0e4bc643f420dda032f90bf6423ee64728209d2 /src/gos/rawrtos.c
parent4ce658b022bbafe129d5ed3a571017c7d34b3892 (diff)
downloaduGFX-9826378b9608362c4ad6efa3271e6f6de1e2b30e.tar.gz
uGFX-9826378b9608362c4ad6efa3271e6f6de1e2b30e.tar.bz2
uGFX-9826378b9608362c4ad6efa3271e6f6de1e2b30e.zip
Operating System initialisation can now be turned off in gfxconf.h
Diffstat (limited to 'src/gos/rawrtos.c')
-rw-r--r--src/gos/rawrtos.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/gos/rawrtos.c b/src/gos/rawrtos.c
index 688828c9..cd684208 100644
--- a/src/gos/rawrtos.c
+++ b/src/gos/rawrtos.c
@@ -17,7 +17,11 @@
void _gosInit(void)
{
- // The user must call raw_os_start() himself before he calls gfxInit().
+ #if !GFX_NO_OS_INIT
+ #error "GOS: Operating System initialization for RawRTOS is not yet implemented in uGFX. Please set GFX_NO_OS_INIT to TRUE in your gfxconf.h"
+ #else
+ #warning "GOS: Operating System initialization has been turned off. Make sure you call raw_os_start() before gfxInit() in your application!"
+ #endif
}
void _gosDeinit(void)