Update keyboards/dark_project/cm81/cm81.c

Co-authored-by: Joel Challis <git@zvecr.com>
This commit is contained in:
jonylee@hfd 2024-10-22 13:54:19 +08:00 committed by GitHub
parent 3dfa70a88d
commit 2a9b37e562
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -126,8 +126,7 @@ void keyboard_pre_init_kb(void){
housekeeping_task_kb(); housekeeping_task_kb();
} }
void matrix_scan_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) == 2) || (get_highest_layer(default_layer_state | layer_state) == 3)));
gpio_write_pin(LED_WIN_LOCK_PIN, keymap_config.no_gui); gpio_write_pin(LED_WIN_LOCK_PIN, keymap_config.no_gui);
matrix_scan_user();
} }