parent
ceaeb599d4
commit
09eba89afd
2 changed files with 3 additions and 1 deletions
|
@ -122,6 +122,7 @@ void gfxSleepMilliseconds(delaytime_t ms) {
|
|||
case TIME_INFINITE:
|
||||
while(1)
|
||||
gfxYield();
|
||||
return;
|
||||
}
|
||||
|
||||
// Convert our delay to ticks
|
||||
|
@ -143,6 +144,7 @@ void gfxSleepMicroseconds(delaytime_t ms) {
|
|||
case TIME_INFINITE:
|
||||
while(1)
|
||||
gfxYield();
|
||||
return;
|
||||
}
|
||||
|
||||
// Convert our delay to ticks
|
||||
|
|
|
@ -109,7 +109,7 @@ static DECLARE_THREAD_FUNCTION(GTimerThreadHandler, arg) {
|
|||
lastTime = tm;
|
||||
gfxMutexExit(&mutex);
|
||||
}
|
||||
// THREAD_RETURN(0);
|
||||
THREAD_RETURN(0);
|
||||
}
|
||||
|
||||
void _gtimerInit(void)
|
||||
|
|
Loading…
Add table
Reference in a new issue