Преглед изворни кода

Fix `implicit declaration of function 'get_host_led_state'` (#10803)

Ryan пре 4 година
родитељ
комит
fb579aae49
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      keyboards/handwired/hnah108/keymaps/default/keymap.c

+ 1 - 1
keyboards/handwired/hnah108/keymaps/default/keymap.c

@@ -65,7 +65,7 @@ void encoder_update_user(uint8_t index, bool clockwise) {
 }
 
 void rgb_matrix_indicators_user(void) {
-    led_t led_state = get_host_led_state();
+    led_t led_state = host_keyboard_led_state();
 
     if (led_state.caps_lock) {
         rgb_matrix_set_color(30, 0x00, 0xFF, 0x00);