Update keyboards/akko/5075/5075.c

Co-authored-by: Everton Correia <1169768+evertonstz@users.noreply.github.com>
This commit is contained in:
jonylee@hfd 2025-01-15 17:34:25 +08:00 committed by GitHub
parent 36b0f7f598
commit ce1d5f2459
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -155,7 +155,10 @@ void keyboard_pre_init_kb(void) {
} }
void housekeeping_task_kb(void) { void housekeeping_task_kb(void) {
gpio_write_pin(LED_MAC_OS_PIN, ((get_highest_layer(default_layer_state | layer_state) == 2) || (get_highest_layer(default_layer_state | layer_state) == 3))); gpio_write_pin(LED_MAC_OS_PIN,
(get_highest_layer(default_layer_state | layer_state) == 3) ||
(get_highest_layer(default_layer_state | layer_state) == 4) ||
(get_highest_layer(default_layer_state | layer_state) == 5));
gpio_write_pin(LED_WIN_LOCK_PIN, keymap_config.no_gui); gpio_write_pin(LED_WIN_LOCK_PIN, keymap_config.no_gui);
} }