mirror of
https://github.com/oliverschmidt/contiki.git
synced 2024-09-11 06:54:32 +00:00
fix for compilation with clang - issue reported by Olaf Bergmann
This commit is contained in:
parent
8e6c6cc45b
commit
7853a7434b
@ -84,11 +84,13 @@ handle_periodic_timer(void *ptr)
|
|||||||
rpl_dag_t *dag = rpl_get_any_dag();
|
rpl_dag_t *dag = rpl_get_any_dag();
|
||||||
|
|
||||||
rpl_purge_dags();
|
rpl_purge_dags();
|
||||||
if(dag != NULL && RPL_IS_STORING(dag->instance)) {
|
if(dag != NULL) {
|
||||||
rpl_purge_routes();
|
if(RPL_IS_STORING(dag->instance)) {
|
||||||
}
|
rpl_purge_routes();
|
||||||
if(dag != NULL && RPL_IS_NON_STORING(dag->instance)) {
|
}
|
||||||
rpl_ns_periodic();
|
if(RPL_IS_NON_STORING(dag->instance)) {
|
||||||
|
rpl_ns_periodic();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
rpl_recalculate_ranks();
|
rpl_recalculate_ranks();
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user