summaryrefslogtreecommitdiff
path: root/docs/feature_macros.md
diff options
context:
space:
mode:
Diffstat (limited to 'docs/feature_macros.md')
-rw-r--r--docs/feature_macros.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/feature_macros.md b/docs/feature_macros.md
index fe45016e3b..d81c3c6559 100644
--- a/docs/feature_macros.md
+++ b/docs/feature_macros.md
@@ -230,7 +230,7 @@ bool process_record_user(uint16_t keycode, keyrecord_t *record) {
void matrix_scan_user(void) { # The very important timer.
if (is_alt_tab_active) {
if (timer_elapsed(alt_tab_timer) > 1000) {
- unregister_code16(LALT(KC_TAB));
+ unregister_code(KC_LALT);
is_alt_tab_active = false;
}
}