diff options
Diffstat (limited to 'keyboards/crkbd/keymaps/rpbaptist')
-rw-r--r-- | keyboards/crkbd/keymaps/rpbaptist/oled.c | 6 | ||||
-rw-r--r-- | keyboards/crkbd/keymaps/rpbaptist/rules.mk | 1 |
2 files changed, 3 insertions, 4 deletions
diff --git a/keyboards/crkbd/keymaps/rpbaptist/oled.c b/keyboards/crkbd/keymaps/rpbaptist/oled.c index a2cc43c373..549826fac6 100644 --- a/keyboards/crkbd/keymaps/rpbaptist/oled.c +++ b/keyboards/crkbd/keymaps/rpbaptist/oled.c @@ -71,10 +71,10 @@ void render_status(void) { oled_write_P(PSTR("\n"), false); - uint8_t led_usb_state = host_keyboard_leds(); + led_t led_state = host_keyboard_led_state(); oled_write_P(PSTR("Mode:"), false); - oled_write_P(IS_LED_ON(led_usb_state, USB_LED_NUM_LOCK) ? PSTR(" NUM ") : PSTR("\n"), false); - oled_write_P(IS_LED_ON(led_usb_state, USB_LED_CAPS_LOCK) ? PSTR(" CAPS") : PSTR("\n"), false); + oled_write_P(led_state.num_lock ? PSTR(" NUM ") : PSTR("\n"), false); + oled_write_P(led_state.caps_lock ? PSTR(" CAPS") : PSTR("\n"), false); #ifdef RGB_MATRIX_ENABLE oled_write_P(PSTR("\n"), false); diff --git a/keyboards/crkbd/keymaps/rpbaptist/rules.mk b/keyboards/crkbd/keymaps/rpbaptist/rules.mk index 21b8fd3127..9620e41253 100644 --- a/keyboards/crkbd/keymaps/rpbaptist/rules.mk +++ b/keyboards/crkbd/keymaps/rpbaptist/rules.mk @@ -32,7 +32,6 @@ SLEEP_LED_ENABLE = no # Breathing sleep LED during USB suspend BOOTLOADER = qmk-dfu OLED_ENABLE = yes -OLED_DRIVER = SSD1306 DEBOUNCE_TYPE = sym_eager_pk |