Skip to content

Commit

Permalink
Fix shift bug (there's only three levels, not four)
Browse files Browse the repository at this point in the history
  • Loading branch information
Gnu-Bricoleur authored and caveman99 committed Jun 12, 2024
1 parent 4255fd4 commit 918bf35
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/input/SerialKeyboard.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,7 @@ int32_t SerialKeyboard::runOnce()
}
else { //then it's shift
shift += 1;
if (shift > 3){
if (shift > 2){
shift = 0;
}
}
Expand Down

0 comments on commit 918bf35

Please sign in to comment.