Update keyboards/akko/5075/5075.c

Co-authored-by: Drashna Jaelre <drashna@live.com>
pull/20556/head
jonylee@hfd 2023-10-10 10:09:45 +08:00 committed by GitHub
parent 04918b02c5
commit da18fe3f2b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 0 additions and 9 deletions

View File

@ -164,15 +164,6 @@ void led_init_ports(void) {
writePinLow(LED_WIN_LOCK_PIN);
}
bool led_update_kb(led_t led_state) {
bool res = led_update_user(led_state);
if (res) {
writePin(LED_CAPS_LOCK_PIN, led_state.caps_lock);
writePin(LED_MAC_OS_PIN, default_layer_state & ((1<<MAC_B)|(1<<MAC_W)));
writePin(LED_WIN_LOCK_PIN, keymap_config.no_gui);
}
return res;
}
bool dip_switch_update_kb(uint8_t index, bool active) {
if (!dip_switch_update_user(index, active)) {