Revert "Remove some compiler warnings"

This reverts commit 76671249d6.
ugfx_release_2.7
Joel Bodenmann 2016-12-14 15:00:43 +01:00
parent ceaeb599d4
commit 09eba89afd
2 changed files with 3 additions and 1 deletions

View File

@ -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

View File

@ -109,7 +109,7 @@ static DECLARE_THREAD_FUNCTION(GTimerThreadHandler, arg) {
lastTime = tm;
gfxMutexExit(&mutex);
}
// THREAD_RETURN(0);
THREAD_RETURN(0);
}
void _gtimerInit(void)