mirror of
https://github.com/bluekitchen/btstack.git
synced 2025-01-06 07:00:59 +00:00
posix: fix compile
This commit is contained in:
parent
8b26961ae5
commit
88e0b3b2b2
@ -197,6 +197,7 @@ static void btstack_run_loop_posix_execute(void) {
|
||||
// wait for ready FDs
|
||||
select( highest_fd+1 , &descriptors_read, &descriptors_write, NULL, timeout);
|
||||
|
||||
|
||||
data_sources_modified = 0;
|
||||
btstack_linked_list_iterator_init(&it, &data_sources);
|
||||
while (btstack_linked_list_iterator_has_next(&it) && !data_sources_modified){
|
||||
@ -214,7 +215,7 @@ static void btstack_run_loop_posix_execute(void) {
|
||||
log_debug("btstack_run_loop_posix_execute: after ds check\n");
|
||||
|
||||
// process timers
|
||||
// pre: 0 <= tv_usec < 1000000
|
||||
now_ms = btstack_run_loop_posix_get_time_ms();
|
||||
while (timers) {
|
||||
ts = (btstack_timer_source_t *) timers;
|
||||
if (ts->timeout > now_ms) break;
|
||||
|
Loading…
Reference in New Issue
Block a user