Fix delay at end of game

This commit is contained in:
Gabriel Augendre 2021-04-30 08:10:21 +02:00
parent c231919eb2
commit 0b6551ac52

View file

@ -20,7 +20,6 @@ void setup() {
configure();
deactivateAll();
digitalWrite(LED_BUILTIN, LOW);
delay(2000);
}
void loop() {
@ -32,6 +31,8 @@ void loop() {
return;
}
delay(1200);
currentPosition += 1;
byte newItem = random(0, 4);
sequence[currentPosition] = newItem;
@ -41,6 +42,4 @@ void loop() {
win = false;
over = true;
}
delay(2000);
}