btstack_run_loop: don't call btstack_run_loop_remove_timer from platform implementation

This commit is contained in:
Matthias Ringwald 2017-07-05 11:27:44 +02:00
parent f93a20173c
commit 38f05a1521

View File

@ -233,7 +233,7 @@ void btstack_run_loop_embedded_execute_once(void) {
uint32_t timeout_low = ts->timeout;
int timeout_high = btstack_run_loop_embedded_reconstruct_higher_bits(now, timeout_low);
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);
}
#endif