From 15c5fecd21884ece31879d3c4ab9a1489c82b1fc Mon Sep 17 00:00:00 2001 From: Joel Bodenmann Date: Sat, 5 Oct 2013 03:20:55 +0200 Subject: [PATCH] fixed define typo... --- src/gdisp/gdisp.c | 2 +- src/gtimer/gtimer.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/gdisp/gdisp.c b/src/gdisp/gdisp.c index 54ab59a5..176839b4 100644 --- a/src/gdisp/gdisp.c +++ b/src/gdisp/gdisp.c @@ -123,7 +123,7 @@ gfxMutexInit(&gdispMsgsMutex); gfxSemInit(&gdispMsgsSem, GDISP_QUEUE_SIZE, GDISP_QUEUE_SIZE); - hth = gfxThreadCreate(waGDISPThread, sizeof(waGDISPThread), GDISP_PRIORITY, GDISPThreadHandler, NULL); + hth = gfxThreadCreate(waGDISPThread, sizeof(waGDISPThread), GDISP_THREAD_PRIORITY, GDISPThreadHandler, NULL); if (hth) gfxThreadClose(hth); /* Initialise driver - synchronous */ diff --git a/src/gtimer/gtimer.c b/src/gtimer/gtimer.c index 25b7d804..7425f65d 100644 --- a/src/gtimer/gtimer.c +++ b/src/gtimer/gtimer.c @@ -132,7 +132,7 @@ 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_PRIORITY, GTimerThreadHandler, NULL); + hThread = gfxThreadCreate(waTimerThread, sizeof(waTimerThread), GTIMER_THREAD_PRIORITY, GTimerThreadHandler, NULL); if (hThread) gfxThreadClose(hThread); // We never really need the handle again }