summaryrefslogtreecommitdiff
path: root/common/keyboard_scan.c
diff options
context:
space:
mode:
Diffstat (limited to 'common/keyboard_scan.c')
-rw-r--r--common/keyboard_scan.c7
1 files changed, 1 insertions, 6 deletions
diff --git a/common/keyboard_scan.c b/common/keyboard_scan.c
index 9641ff6ca9..d1e90c72c7 100644
--- a/common/keyboard_scan.c
+++ b/common/keyboard_scan.c
@@ -301,12 +301,7 @@ static int check_keys_changed(uint8_t *state)
/* Read the raw key state */
any_pressed = read_matrix(new_state);
- /* Ignore if so many keys are pressed that we're ghosting */
- /*
- * TODO: maybe in this case we should reset all the debounce times,
- * because in the ghosting case we're not paying attention to any of
- * the keys which aren't ghosting.
- */
+ /* Ignore if so many keys are pressed that we're ghosting. */
if (has_ghosting(new_state))
return any_pressed;