forked from mirrors/qmk_userspace
Unified low battery indication of LED/RGB matrix and individual LED; Fixed bluetooth name may not be set correctly after factory reset
This commit is contained in:
parent
b5de40f5c1
commit
27a218a3d1
11 changed files with 98 additions and 147 deletions
|
@ -100,7 +100,7 @@ void wireless_enter_reset_kb(uint8_t reason) {
|
|||
lkbt51_param_init();
|
||||
}
|
||||
|
||||
void wireless_enter_disconnected_kb(uint8_t host_idx) {
|
||||
void wireless_enter_disconnected_kb(uint8_t host_idx, uint8_t reason) {
|
||||
/* CKBT51 bluetooth module boot time is slower, it enters disconnected after boot,
|
||||
so we place initialization here. */
|
||||
if (firstDisconnect && timer_read32() < 1000) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue