cast to INACTIVITY_TIMEOUT_DELAY to avoid compiler warning
This commit is contained in:
parent
d54ad856e7
commit
7c52020254
1 changed files with 1 additions and 1 deletions
|
@ -399,7 +399,7 @@ bool players_actity(uint8_t numcars ) {
|
|||
*/
|
||||
bool ready_for_demo_mode(void) {
|
||||
if(players_actity(race.numcars)){
|
||||
demoMode_delay.start(INACTIVITY_TIMEOUT_DELAY * 1000); // Reset timeout when somebody is using controllers
|
||||
demoMode_delay.start((unsigned long) INACTIVITY_TIMEOUT_DELAY * 1000); // Reset timeout when somebody is using controllers
|
||||
}
|
||||
return (demoMode_delay.elapsed());
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue