summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFuwn <[email protected]>2023-06-10 09:50:45 -0700
committerGitHub <[email protected]>2023-06-10 09:50:45 -0700
commit43498a28e86e50d88379cee574e86ad07da51627 (patch)
treefa52cdb4e08ab8267c388fbb5c62e5c9b3f785e0
parentfeat: create main file (diff)
downloadembedded-c-final-project-43498a28e86e50d88379cee574e86ad07da51627.tar.xz
embedded-c-final-project-43498a28e86e50d88379cee574e86ad07da51627.zip
fix: global menu key
-rw-r--r--simon_says.ino2
1 files changed, 1 insertions, 1 deletions
diff --git a/simon_says.ino b/simon_says.ino
index 87c9b27..a1a5f05 100644
--- a/simon_says.ino
+++ b/simon_says.ino
@@ -1,5 +1,4 @@
#include <LiquidCrystal.h>
-#include <Vector.h>
#include <time.h>
#include <EEPROM.h>
@@ -140,6 +139,7 @@ void check_return_to_menu(int user_key) {
flag_menu = true;
flag_drew = false;
flag_simon_rolled = false;
+ flag_user_turn = false;
}
}