Changed GUI CPU fix a bit to make sure we are really in the GUI just in case we use this function for something else later on
This commit is contained in:
@@ -756,7 +756,7 @@ void Start36HZ(void)
|
||||
update_ticks_pc = UPDATE_TICKS_GUI;
|
||||
|
||||
//Quick fix for GUI CPU usage
|
||||
usleep(1000);
|
||||
if (GUIOn2) usleep(1000);
|
||||
|
||||
start = sem_GetTicks();
|
||||
start2 = sem_GetTicks();
|
||||
|
||||
Reference in New Issue
Block a user