mirror of
https://github.com/qmk/qmk_firmware
synced 2024-11-18 09:55:48 +00:00
[Keymap] Fix default layer display (#6398)
This commit is contained in:
parent
20c0533c4c
commit
f3acaff65b
1 changed files with 2 additions and 1 deletions
|
@ -324,7 +324,8 @@ static void render_status(void) {
|
||||||
|
|
||||||
// Define layers here
|
// Define layers here
|
||||||
oled_write_P(PSTR("Layer"), false);
|
oled_write_P(PSTR("Layer"), false);
|
||||||
switch (biton32(layer_state)) {
|
uint8_t layer = layer_state ? biton(layer_state) : biton32(default_layer_state);
|
||||||
|
switch (layer) {
|
||||||
case _QWERTY:
|
case _QWERTY:
|
||||||
oled_write_P(PSTR("BASE "), false);
|
oled_write_P(PSTR("BASE "), false);
|
||||||
break;
|
break;
|
||||||
|
|
Loading…
Reference in a new issue