only: progress

This commit is contained in:
Matthew Kennedy 2024-03-13 03:56:53 -04:00 committed by rusefillc
parent 15d53bb3c3
commit 6298404378
1 changed files with 1 additions and 1 deletions

View File

@ -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();
}