Shorten shape check

This commit is contained in:
Miloslav Ciz 2025-03-06 20:16:32 +01:00
parent 88c23be206
commit 398b9f4b99
2 changed files with 2 additions and 2 deletions

View file

@ -138,7 +138,7 @@ int main(int argc, char *argv[])
break; break;
case 'w': case 'w':
fullscreen = argv[i][2] == '1'; fullscreen = argv[i][2] == '0';
break; break;
default: break; default: break;

View file

@ -1492,7 +1492,7 @@ uint32_t LCR_racingStep(unsigned int input)
{ {
// car not OK // car not OK
if (LCR_racing.carNotOKCount > 10) // TODO: constant if (LCR_racing.carNotOKCount > 4) // TODO: constant
{ {
LCR_LOG2("car not OK (short), fixing"); LCR_LOG2("car not OK (short), fixing");