mirror of
https://github.com/bluekitchen/btstack.git
synced 2025-03-29 22:20:37 +00:00
btstack_run_loop: fix warning in dump timers
This commit is contained in:
parent
f3a32fdcb9
commit
016e946421
@ -49,6 +49,8 @@
|
||||
#include "btstack_config.h"
|
||||
#include "btstack_util.h"
|
||||
|
||||
#include <inttypes.h>
|
||||
|
||||
static const btstack_run_loop_t * the_run_loop = NULL;
|
||||
|
||||
extern const btstack_run_loop_t btstack_run_loop_embedded;
|
||||
@ -115,7 +117,7 @@ void btstack_run_loop_base_dump_timer(void){
|
||||
uint16_t i = 0;
|
||||
for (it = (btstack_linked_item_t *) btstack_run_loop_base_timers; it ; it = it->next){
|
||||
btstack_timer_source_t *ts = (btstack_timer_source_t*) it;
|
||||
log_info("timer %u (%p): timeout %u\n", i, ts, ts->timeout);
|
||||
log_info("timer %u (%p): timeout %" PRIu32 "u\n", i, ts, ts->timeout);
|
||||
}
|
||||
#endif
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user