From 996e11f22dbd0669e636c01796c272b4a58b37cc Mon Sep 17 00:00:00 2001 From: Tony Mamacos Date: Thu, 7 Dec 2023 00:29:41 +0200 Subject: [PATCH] correct code --- cross_arduino.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cross_arduino.cpp b/cross_arduino.cpp index a8a859d..894fb4b 100644 --- a/cross_arduino.cpp +++ b/cross_arduino.cpp @@ -30,7 +30,7 @@ SaveData cross_load() { } uint8_t checkDesired(uint8_t desired) { - uint8_t desiredKeyPresses[11] = {1,1,2,2,3,4,3,4,6,5,6}; + uint8_t desiredKeyPresses[11] = {1,1,2,2,3,4,3,4,6,5,5}; if (arduboy.justPressed(UP_BUTTON)) { // Serial.write("Pressed u\n"); return desiredKeyPresses[desired] == 1 ? 2 : 1;