Shorten shape check
This commit is contained in:
parent
88c23be206
commit
398b9f4b99
2 changed files with 2 additions and 2 deletions
|
@ -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;
|
||||||
|
|
2
racing.h
2
racing.h
|
@ -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");
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue