Skip to content

Commit

Permalink
correct code
Browse files Browse the repository at this point in the history
  • Loading branch information
tonym128 committed Dec 6, 2023
1 parent da0a4ad commit 996e11f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cross_arduino.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 996e11f

Please sign in to comment.