fixed define typo...
This commit is contained in:
parent
4e68a7732e
commit
15c5fecd21
2 changed files with 2 additions and 2 deletions
|
@ -123,7 +123,7 @@
|
||||||
gfxMutexInit(&gdispMsgsMutex);
|
gfxMutexInit(&gdispMsgsMutex);
|
||||||
gfxSemInit(&gdispMsgsSem, GDISP_QUEUE_SIZE, GDISP_QUEUE_SIZE);
|
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);
|
if (hth) gfxThreadClose(hth);
|
||||||
|
|
||||||
/* Initialise driver - synchronous */
|
/* Initialise driver - synchronous */
|
||||||
|
|
|
@ -132,7 +132,7 @@ void gtimerStart(GTimer *pt, GTimerFunction fn, void *param, bool_t periodic, de
|
||||||
|
|
||||||
// Start our thread if not already going
|
// Start our thread if not already going
|
||||||
if (!hThread) {
|
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
|
if (hThread) gfxThreadClose(hThread); // We never really need the handle again
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue