move a matrix reset into the keyscanning routine

pull/18/head
Jesse Vincent 10 years ago
parent df6fea6d3a
commit 5aa7356c67

@ -140,6 +140,8 @@ void scan_matrix()
release_keys_not_being_pressed(); release_keys_not_being_pressed();
TS("Sending key report"); TS("Sending key report");
Keyboard.sendCurrentReport(); Keyboard.sendCurrentReport();
TS("clearing internal key report")
reset_key_report();
} }
// Command mode // Command mode
@ -284,7 +286,6 @@ void loop()
TS("about to scan the matrix") TS("about to scan the matrix")
active_keymap = primary_keymap; active_keymap = primary_keymap;
scan_matrix(); scan_matrix();
reset_key_report();
TS("updating LEDs"); TS("updating LEDs");
update_leds(); update_leds();
} }

Loading…
Cancel
Save