From d9f02858fdc04c4404834a033850f758e4c8ee7e Mon Sep 17 00:00:00 2001 From: inmarket Date: Sat, 21 Dec 2013 13:21:59 +1000 Subject: Replace NULL's with 0 as NULL is not defined by the Raw32 GOS. --- src/gos/chibios.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/gos/chibios.c') 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); } -- cgit v1.2.3