mirror of
https://github.com/Keychron/qmk_firmware.git
synced 2024-11-25 09:56:54 +06:00
Update bluetooth.c
This commit is contained in:
parent
39503982d1
commit
ae5800535b
|
@ -291,7 +291,7 @@ uint8_t bluetooth_keyboard_leds(void) {
|
||||||
extern keymap_config_t keymap_config;
|
extern keymap_config_t keymap_config;
|
||||||
|
|
||||||
void bluetooth_send_keyboard(report_keyboard_t *report) {
|
void bluetooth_send_keyboard(report_keyboard_t *report) {
|
||||||
if ((bt_state == BLUETOOTH_PARING && !pincodeEntry) || battery_is_critical_low()) return;
|
if ((bt_state == BLUETOOTH_PARING && !pincodeEntry)) return;
|
||||||
|
|
||||||
if (bt_state == BLUETOOTH_CONNECTED || (bt_state == BLUETOOTH_PARING && pincodeEntry)) {
|
if (bt_state == BLUETOOTH_CONNECTED || (bt_state == BLUETOOTH_PARING && pincodeEntry)) {
|
||||||
#if defined(NKRO_ENABLE)
|
#if defined(NKRO_ENABLE)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user