aboutsummaryrefslogtreecommitdiffstats
path: root/src/gos/chibios.c
diff options
context:
space:
mode:
authorinmarket <andrewh@inmarket.com.au>2013-12-21 13:21:59 +1000
committerinmarket <andrewh@inmarket.com.au>2013-12-21 13:21:59 +1000
commitd9f02858fdc04c4404834a033850f758e4c8ee7e (patch)
tree2d7b4759cabf76eba5b7ef2147e58d3c9d7f885b /src/gos/chibios.c
parent018a930d5525ffefc30fb2514752918455853685 (diff)
downloaduGFX-d9f02858fdc04c4404834a033850f758e4c8ee7e.tar.gz
uGFX-d9f02858fdc04c4404834a033850f758e4c8ee7e.tar.bz2
uGFX-d9f02858fdc04c4404834a033850f758e4c8ee7e.zip
Replace NULL's with 0 as NULL is not defined by the Raw32 GOS.
Diffstat (limited to 'src/gos/chibios.c')
-rw-r--r--src/gos/chibios.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gos/chibios.c b/src/gos/chibios.c
index 3af0047b..30a2b228 100644
--- a/src/gos/chibios.c
+++ b/src/gos/chibios.c
@@ -106,7 +106,7 @@ gfxThreadHandle gfxThreadCreate(void *stackarea, size_t stacksz, threadpriority_
}
if (!stacksz)
- return NULL;
+ return 0;
return chThdCreateStatic(stackarea, stacksz, prio, fn, param);
}