Slightly clean up our startup mode to be faster and more likely to eat

extra keypresses
pull/365/head
Jesse Vincent 7 years ago
parent a860afa765
commit c0a2b43c23

@ -42,7 +42,10 @@ void TestMode_::loopHook(bool postClear) {
} }
void TestMode_::waitForKeypress() { void TestMode_::waitForKeypress() {
delay(25); for (auto temp = 0; temp < 16; temp++) {
KeyboardHardware.readMatrix();
}
delay(2);
while (1) { while (1) {
KeyboardHardware.readMatrix(); KeyboardHardware.readMatrix();
if (KeyboardHardware.leftHandState.all == R3C6 if (KeyboardHardware.leftHandState.all == R3C6

Loading…
Cancel
Save