mirror of
https://github.com/oliverschmidt/contiki.git
synced 2025-08-14 20:27:43 +00:00
ROOT_RANK is now a macro function.
This commit is contained in:
@@ -112,7 +112,7 @@ new_dio_interval(rpl_dag_t *dag)
|
|||||||
dag->version,
|
dag->version,
|
||||||
dag->dio_totint, dag->dio_totsend,
|
dag->dio_totint, dag->dio_totsend,
|
||||||
dag->dio_totrecv,dag->dio_intcurrent,
|
dag->dio_totrecv,dag->dio_intcurrent,
|
||||||
dag->rank == ROOT_RANK ? "BLUE" : "ORANGE");
|
dag->rank == ROOT_RANK(dag) ? "BLUE" : "ORANGE");
|
||||||
#endif /* RPL_CONF_STATS */
|
#endif /* RPL_CONF_STATS */
|
||||||
|
|
||||||
/* reset the redundancy counter */
|
/* reset the redundancy counter */
|
||||||
|
Reference in New Issue
Block a user