Update keyboards/skyloong/gk87/bl_pro/bl_pro.c

OK, I agree with you. Thank you for your advice.

Co-authored-by: Drashna Jaelre <drashna@live.com>
This commit is contained in:
JIKEDINGZHI 2025-04-28 19:29:09 +08:00 committed by GitHub
parent 4037318809
commit a4a3a6d7d3
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -119,6 +119,7 @@ bool shutdown_kb(bool jump_to_bootloader) {
}
layer_state_t default_layer_state_set_kb(layer_state_t state) {
state = default_layer_state_set_user(state);
switch (get_highest_layer(state)) {
case 0:
//switch to win layer display
@ -132,7 +133,7 @@ layer_state_t default_layer_state_set_kb(layer_state_t state) {
break;
}
s_serial_to_parallel(IND);
return default_layer_state_set_user(state);
return state;
}
bool led_update_kb(led_t led_state) {