Fix compiling error caused by commit 0cd4ee

This commit is contained in:
lokher 2024-03-30 17:25:59 +08:00
commit eba583cfa7
3 changed files with 20 additions and 6 deletions

View file

@ -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;
};