mirror of
https://github.com/bluekitchen/btstack.git
synced 2025-04-09 21:45:54 +00:00
btstack_run_loop: don't call btstack_run_loop_remove_timer from platform implementation
This commit is contained in:
parent
f93a20173c
commit
38f05a1521
@ -233,7 +233,7 @@ void btstack_run_loop_embedded_execute_once(void) {
|
|||||||
uint32_t timeout_low = ts->timeout;
|
uint32_t timeout_low = ts->timeout;
|
||||||
int timeout_high = btstack_run_loop_embedded_reconstruct_higher_bits(now, timeout_low);
|
int timeout_high = btstack_run_loop_embedded_reconstruct_higher_bits(now, timeout_low);
|
||||||
if (timeout_high > 0 || ((timeout_high == 0) && (timeout_low > now))) break;
|
if (timeout_high > 0 || ((timeout_high == 0) && (timeout_low > now))) break;
|
||||||
btstack_run_loop_remove_timer(ts);
|
btstack_run_loop_embedded_remove_timer(ts);
|
||||||
ts->process(ts);
|
ts->process(ts);
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
x
Reference in New Issue
Block a user