Skip to content

Commit

Permalink
Fixed held buttons on switching modes
Browse files Browse the repository at this point in the history
previously, one button may have been held down when modes are switched
  • Loading branch information
Chris-Johnston committed May 10, 2017
1 parent a0f41db commit 65c05ea
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions BinaryKeyboard.ino
Original file line number Diff line number Diff line change
Expand Up @@ -366,6 +366,7 @@ void loop() {
mode = !mode;
switchTime = millis();
lastPrinted = '0';
Keyboard.releaseAll();
}

// draw a 'progress bar' indicating when this will switch over
Expand Down

0 comments on commit 65c05ea

Please sign in to comment.