mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2025-12-28 07:51:19 +01:00
sys/shell/commands: reflecting xtimer's member change
This commit is contained in:
parent
35b6ed41f4
commit
a18f9318c7
@ -292,8 +292,10 @@ int _gnrc_rpl_dodag_show(void)
|
||||
gnrc_rpl_instances[i].mop, gnrc_rpl_instances[i].of->ocp,
|
||||
gnrc_rpl_instances[i].min_hop_rank_inc, gnrc_rpl_instances[i].max_rank_inc);
|
||||
|
||||
tc = (((uint64_t) dodag->trickle.msg_timer.long_target << 32)
|
||||
| dodag->trickle.msg_timer.target) - xnow;
|
||||
tc = _xtimer_usec_from_ticks64(((uint64_t) dodag->trickle.msg_timer.long_offset << 32)
|
||||
| dodag->trickle.msg_timer.offset)
|
||||
- (xnow - _xtimer_usec_from_ticks64(
|
||||
(uint64_t)dodag->trickle.msg_timer.long_start_time << 32 | dodag->trickle.msg_timer.start_time));
|
||||
tc = (int64_t) tc < 0 ? 0 : tc / US_PER_SEC;
|
||||
|
||||
printf("\tdodag [%s | R: %d | OP: %s | PIO: %s | "
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user