mirror of
https://github.com/oliverschmidt/contiki.git
synced 2024-12-22 10:30:13 +00:00
dio_intcurrent is now part of the instance struct
This commit is contained in:
parent
c9ac19b919
commit
5247be27bf
@ -144,7 +144,7 @@ collect_common_send(void)
|
||||
}
|
||||
}
|
||||
rtmetric = dag->rank;
|
||||
beacon_interval = (uint16_t) ((2L << dag->dio_intcurrent) / 1000);
|
||||
beacon_interval = (uint16_t) ((2L << dag->instance->dio_intcurrent) / 1000);
|
||||
num_neighbors = RPL_PARENT_COUNT(dag);
|
||||
} else {
|
||||
rtmetric = 0;
|
||||
|
Loading…
Reference in New Issue
Block a user