Made DIO interval processing a little easier to follow. Explicitly state that the delay is handled as clock timer ticks.

This commit is contained in:
Adam Dunkels 2012-11-26 19:35:39 +01:00
parent 8538aaf655
commit 2396f9b8ea
2 changed files with 8 additions and 9 deletions

View file

@ -221,7 +221,7 @@ struct rpl_instance {
uint16_t dio_totsend;
uint16_t dio_totrecv;
#endif /* RPL_CONF_STATS */
uint32_t dio_next_delay; /* delay for completion of dio interval */
clock_time_t dio_next_delay; /* delay for completion of dio interval */
struct ctimer dio_timer;
struct ctimer dao_timer;
};