fix delay of macro doens't work properly except cable mode

This commit is contained in:
lokher 2024-03-18 10:05:26 +08:00
parent f7a08796ba
commit 0cd4ee07c3
3 changed files with 29 additions and 2 deletions

View file

@ -526,6 +526,16 @@ void wireless_task(void) {
lpm_task();
}
void send_string_task(void) {
if ((get_transport() & TRANSPORT_WIRELESS) && wireless_get_state() == WT_CONNECTED) {
wireless_transport.task();
#ifndef DISABLE_REPORT_BUFFER
report_buffer_task();
#endif
}
}
wt_state_t wireless_get_state(void) {
return wireless_state;
};