mirror of
https://github.com/bluekitchen/btstack.git
synced 2025-03-19 16:21:06 +00:00
fully noop dump timers
This commit is contained in:
parent
b114010b51
commit
65793526c2
@ -90,12 +90,14 @@ int embedded_remove_timer(timer_source_t *ts){
|
|||||||
}
|
}
|
||||||
|
|
||||||
void embedded_dump_timer(){
|
void embedded_dump_timer(){
|
||||||
|
#ifndef EMBEDDED
|
||||||
linked_item_t *it;
|
linked_item_t *it;
|
||||||
int i = 0;
|
int i = 0;
|
||||||
for (it = (linked_item_t *) timers; it ; it = it->next){
|
for (it = (linked_item_t *) timers; it ; it = it->next){
|
||||||
timer_source_t *ts = (timer_source_t*) it;
|
timer_source_t *ts = (timer_source_t*) it;
|
||||||
log_dbg("timer %u, timeout %u\n", i, (unsigned int) ts->timeout.tv_sec);
|
log_dbg("timer %u, timeout %u\n", i, (unsigned int) ts->timeout.tv_sec);
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Loading…
x
Reference in New Issue
Block a user