Remove IS_HOST_LED_ON and migrate usages (#19753)

This commit is contained in:
Ryan
2023-02-06 13:36:09 +11:00
committed by GitHub
parent d5e622b979
commit f0618a1d53
37 changed files with 94 additions and 80 deletions

View File

@@ -257,7 +257,7 @@ void render_status_main(void) {
// Host Keyboard LED Status
oled_write_ln_P(IS_HOST_LED_ON(USB_LED_CAPS_LOCK) ? PSTR("Caps Lock\n") : PSTR(" \n"), false);
oled_write_ln_P(host_keyboard_led_state().caps_lock ? PSTR("Caps Lock\n") : PSTR(" \n"), false);
}
__attribute__ ((weak))
void oled_task_keymap(void) {}