diff --git a/super_simon/src/utils.cpp b/super_simon/src/utils.cpp index 37aebe3..cafa280 100644 --- a/super_simon/src/utils.cpp +++ b/super_simon/src/utils.cpp @@ -14,6 +14,7 @@ const uint16_t TONES[] = {TONE_GREEN, TONE_YELLOW, TONE_BLUE, TONE_RED}; bool soundEnabled = true; void configure() { + pinMode(BUTTON_GREEN, INPUT_PULLUP); if (buttonIsPressed(GREEN_INDEX)) { soundEnabled = false; }