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

This commit is contained in:
Ryan 2020-10-31 00:29:19 +11:00 committed by GitHub
parent 67654e4a82
commit fb579aae49
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -65,7 +65,7 @@ void encoder_update_user(uint8_t index, bool clockwise) {
} }
void rgb_matrix_indicators_user(void) { 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) { if (led_state.caps_lock) {
rgb_matrix_set_color(30, 0x00, 0xFF, 0x00); rgb_matrix_set_color(30, 0x00, 0xFF, 0x00);