瀏覽代碼

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);