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

This commit is contained in:
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

View file

@ -375,7 +375,7 @@ bool process_record_user(uint16_t keycode, keyrecord_t *record) {
SEND_STRING("Keyboard> " QMK_KEYBOARD "\n"); SEND_STRING("Keyboard> " QMK_KEYBOARD "\n");
SEND_STRING("Keymap> " QMK_KEYMAP "\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"); SEND_STRING("Layout> QWERTY\n");
else else
SEND_STRING("Layout> DVORAK\n"); SEND_STRING("Layout> DVORAK\n");