diff options
Diffstat (limited to 'keyboards/pteron36/pteron36.c')
-rw-r--r-- | keyboards/pteron36/pteron36.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/keyboards/pteron36/pteron36.c b/keyboards/pteron36/pteron36.c index b7f7d8d44d..1281b5306e 100644 --- a/keyboards/pteron36/pteron36.c +++ b/keyboards/pteron36/pteron36.c @@ -36,7 +36,7 @@ bool encoder_update_kb(uint8_t index, bool clockwise) { return true; } //common oled support. -#ifdef OLED_DRIVER_ENABLE +#ifdef OLED_ENABLE bool oled_task_kb(void) { if (!oled_task_user()) { return false; @@ -44,7 +44,7 @@ bool oled_task_kb(void) { if (is_keyboard_master()) { oled_write_P(PSTR("Layer: "), false); switch (get_highest_layer(layer_state)) { - case _QWERTY: + case 0: oled_write_ln_P(PSTR("Default"), false); break; default: |