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;
|
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);
|
num_neighbors = RPL_PARENT_COUNT(dag);
|
||||||
} else {
|
} else {
|
||||||
rtmetric = 0;
|
rtmetric = 0;
|
||||||
|
|
Loading…
Reference in a new issue