summaryrefslogtreecommitdiff
path: root/tmk_core/common/action.c
diff options
context:
space:
mode:
Diffstat (limited to 'tmk_core/common/action.c')
-rw-r--r--tmk_core/common/action.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/tmk_core/common/action.c b/tmk_core/common/action.c
index 2deafd465f..555a71ebc6 100644
--- a/tmk_core/common/action.c
+++ b/tmk_core/common/action.c
@@ -758,8 +758,8 @@ void register_code(uint8_t code) {
// without this, keys with the same keycode, but different
// modifiers will be reported incorrectly, see issue #1708
if (is_key_pressed(keyboard_report, code)) {
- del_key(code);
- send_keyboard_report();
+ del_key(code);
+ send_keyboard_report();
}
add_key(code);
send_keyboard_report();