mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2025-01-18 12:52:44 +01:00
Merge pull request #4405 from cgundogan/pr/rpl/shell_fix
rpl: shell: do not use PRIu64
This commit is contained in:
commit
ee9a9fc825
@ -203,11 +203,12 @@ int _gnrc_rpl_dodag_show(void)
|
|||||||
cleanup = dodag->instance->cleanup < 0 ? 0 : dodag->instance->cleanup;
|
cleanup = dodag->instance->cleanup < 0 ? 0 : dodag->instance->cleanup;
|
||||||
|
|
||||||
printf("\tdodag [%s | R: %d | OP: %s | CL: %" PRIi8 "s | "
|
printf("\tdodag [%s | R: %d | OP: %s | CL: %" PRIi8 "s | "
|
||||||
"TR(I=[%d,%d], k=%d, c=%d, TC=%" PRIu64 "s, TI=%" PRIu64 "s)]\n",
|
"TR(I=[%d,%d], k=%d, c=%d, TC=%" PRIu32 "%" PRIu32 "s, TI=%" PRIu32 "%" PRIu32 "s)]\n",
|
||||||
ipv6_addr_to_str(addr_str, &dodag->dodag_id, sizeof(addr_str)),
|
ipv6_addr_to_str(addr_str, &dodag->dodag_id, sizeof(addr_str)),
|
||||||
dodag->my_rank, (dodag->node_status == GNRC_RPL_LEAF_NODE ? "Leaf" : "Router"),
|
dodag->my_rank, (dodag->node_status == GNRC_RPL_LEAF_NODE ? "Leaf" : "Router"),
|
||||||
cleanup, (1 << dodag->dio_min), dodag->dio_interval_doubl, dodag->trickle.k,
|
cleanup, (1 << dodag->dio_min), dodag->dio_interval_doubl, dodag->trickle.k,
|
||||||
dodag->trickle.c, tc, ti);
|
dodag->trickle.c, (uint32_t) (tc >> 32), (uint32_t) (tc & 0xFFFFFFFF),
|
||||||
|
(uint32_t) (ti >> 32), (uint32_t) (ti & 0xFFFFFFFF));
|
||||||
|
|
||||||
gnrc_rpl_parent_t *parent;
|
gnrc_rpl_parent_t *parent;
|
||||||
LL_FOREACH(gnrc_rpl_instances[i].dodag.parents, parent) {
|
LL_FOREACH(gnrc_rpl_instances[i].dodag.parents, parent) {
|
||||||
|
Loading…
Reference in New Issue
Block a user