forked from mirrors/qmk_userspace
Fix compiling error caused by commit 0cd4ee
This commit is contained in:
parent
07208a131c
commit
eba583cfa7
3 changed files with 20 additions and 6 deletions
|
@ -452,6 +452,15 @@ void bluetooth_task(void) {
|
|||
lpm_task();
|
||||
}
|
||||
|
||||
void send_string_task(void) {
|
||||
if (get_transport() == TRANSPORT_BLUETOOTH && bluetooth_get_state()== BLUETOOTH_CONNECTED) {
|
||||
bluetooth_transport.task();
|
||||
#ifndef DISABLE_REPORT_BUFFER
|
||||
report_buffer_task();
|
||||
#endif
|
||||
}
|
||||
}
|
||||
|
||||
bluetooth_state_t bluetooth_get_state(void) {
|
||||
return bt_state;
|
||||
};
|
||||
|
|
|
@ -77,9 +77,11 @@ void bluetooth_enter_disconnected_kb(uint8_t host_idx);
|
|||
void bluetooth_enter_pin_code_entry_kb(void);
|
||||
void bluetooth_exit_pin_code_entry_kb(void);
|
||||
|
||||
void bluetooth_task(void);
|
||||
void bluetooth_pre_task(void);
|
||||
void bluetooth_post_task(void);
|
||||
void bluetooth_task(void);
|
||||
void bluetooth_pre_task(void);
|
||||
void bluetooth_post_task(void);
|
||||
void send_string_task(void);
|
||||
|
||||
bluetooth_state_t bluetooth_get_state(void);
|
||||
|
||||
void bluetooth_low_battery_shutdown(void);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue