[Keymap] Fix QWERTY/DVORAK status output for kzar keymap (#12895)

master
Dave Vandyke 2021-05-14 16:30:21 +01:00 committed by GitHub
parent 36a2297deb
commit 75da5e9742
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -375,7 +375,7 @@ bool process_record_user(uint16_t keycode, keyrecord_t *record) {
SEND_STRING("Keyboard> " QMK_KEYBOARD "\n");
SEND_STRING("Keymap> " QMK_KEYMAP "\n");
if (layer_state_is(_QWERTY))
if (layer_state_cmp(default_layer_state, _QWERTY))
SEND_STRING("Layout> QWERTY\n");
else
SEND_STRING("Layout> DVORAK\n");