Skip to content

Commit

Permalink
[Keymap] Fix default layer display (#6398)
Browse files Browse the repository at this point in the history
  • Loading branch information
XScorpion2 authored and drashna committed Jul 25, 2019
1 parent 20c0533 commit f3acaff
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion keyboards/rgbkb/sol/keymaps/default/keymap.c
Original file line number Diff line number Diff line change
Expand Up @@ -324,7 +324,8 @@ static void render_status(void) {

// Define layers here
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:
oled_write_P(PSTR("BASE "), false);
break;
Expand Down

0 comments on commit f3acaff

Please sign in to comment.