mirror of
https://github.com/oliverschmidt/contiki.git
synced 2025-08-15 12:27:50 +00:00
Simplify dao_input
This commit is contained in:
@@ -1020,14 +1020,10 @@ dao_input(void)
|
|||||||
goto discard;
|
goto discard;
|
||||||
}
|
}
|
||||||
|
|
||||||
if(instance->mop != RPL_MOP_NON_STORING) {
|
if(RPL_IS_STORING(instance)) {
|
||||||
if(RPL_IS_STORING(instance)) {
|
dao_input_storing();
|
||||||
dao_input_storing();
|
} else if(RPL_IS_NON_STORING(instance)) {
|
||||||
}
|
dao_input_nonstoring();
|
||||||
} else {
|
|
||||||
if(RPL_IS_NON_STORING(instance)) {
|
|
||||||
dao_input_nonstoring();
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
discard:
|
discard:
|
||||||
|
Reference in New Issue
Block a user