mirror of
https://github.com/bluekitchen/btstack.git
synced 2025-01-01 00:28:18 +00:00
wiced: fix compile
This commit is contained in:
parent
f0ca6dea14
commit
8291be9586
@ -85,7 +85,8 @@ static void btstack_run_loop_wiced_add_timer(btstack_timer_source_t *ts){
|
|||||||
btstack_linked_item_t *it;
|
btstack_linked_item_t *it;
|
||||||
for (it = (btstack_linked_item_t *) &timers; it->next ; it = it->next){
|
for (it = (btstack_linked_item_t *) &timers; it->next ; it = it->next){
|
||||||
// don't add timer that's already in there
|
// don't add timer that's already in there
|
||||||
if ((btstack_timer_source_t *) it->next == ts){
|
btstack_timer_source_t * next = (btstack_timer_source_t *) it->next;
|
||||||
|
if (next == ts){
|
||||||
log_error( "btstack_run_loop_timer_add error: timer to add already in list!");
|
log_error( "btstack_run_loop_timer_add error: timer to add already in list!");
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user