diff options
author | inmarket <andrewh@inmarket.com.au> | 2013-12-21 13:21:59 +1000 |
---|---|---|
committer | inmarket <andrewh@inmarket.com.au> | 2013-12-21 13:21:59 +1000 |
commit | d9f02858fdc04c4404834a033850f758e4c8ee7e (patch) | |
tree | 2d7b4759cabf76eba5b7ef2147e58d3c9d7f885b /src/gtimer | |
parent | 018a930d5525ffefc30fb2514752918455853685 (diff) | |
download | uGFX-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/gtimer')
-rw-r--r-- | src/gtimer/gtimer.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gtimer/gtimer.c b/src/gtimer/gtimer.c index 7425f65d..de40e16c 100644 --- a/src/gtimer/gtimer.c +++ b/src/gtimer/gtimer.c @@ -132,8 +132,8 @@ void gtimerStart(GTimer *pt, GTimerFunction fn, void *param, bool_t periodic, de // Start our thread if not already going
if (!hThread) {
- hThread = gfxThreadCreate(waTimerThread, sizeof(waTimerThread), GTIMER_THREAD_PRIORITY, GTimerThreadHandler, NULL);
- if (hThread) gfxThreadClose(hThread); // We never really need the handle again
+ hThread = gfxThreadCreate(waTimerThread, sizeof(waTimerThread), GTIMER_THREAD_PRIORITY, GTimerThreadHandler, 0);
+ if (hThread) {gfxThreadClose(hThread);} // We never really need the handle again
}
// Is this already scheduled?
|