mirror of https://github.com/rusefi/rusefi.git
only: progress
This commit is contained in:
parent
15d53bb3c3
commit
6298404378
|
@ -158,7 +158,7 @@ int main(int argc, char** argv) {
|
|||
printf("Running rusEFI simulator for %d seconds, then exiting.\n\n", timeoutSeconds);
|
||||
|
||||
chSysLock();
|
||||
chVTSetI(&exitTimer, MY_US2ST(timeoutSeconds * 1e6), [](void*) { exit(0); }, 0);
|
||||
chVTSetI(&exitTimer, MY_US2ST(timeoutSeconds * 1e6), [](void*) { exit(0); }, nullptr);
|
||||
chSysUnlock();
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue