aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoel Bodenmann <joel@unormal.org>2013-10-05 03:20:55 +0200
committerJoel Bodenmann <joel@unormal.org>2013-10-05 03:20:55 +0200
commit15c5fecd21884ece31879d3c4ab9a1489c82b1fc (patch)
tree0416585087f49168944cde63c526321e054162f2
parent4e68a7732e1a9c101498fd7945ffec20294509d2 (diff)
downloaduGFX-15c5fecd21884ece31879d3c4ab9a1489c82b1fc.tar.gz
uGFX-15c5fecd21884ece31879d3c4ab9a1489c82b1fc.tar.bz2
uGFX-15c5fecd21884ece31879d3c4ab9a1489c82b1fc.zip
fixed define typo...
-rw-r--r--src/gdisp/gdisp.c2
-rw-r--r--src/gtimer/gtimer.c2
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
}