File tree Expand file tree Collapse file tree 3 files changed +5
-4
lines changed Expand file tree Collapse file tree 3 files changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -631,7 +631,7 @@ extern netstats_rpl_t gnrc_rpl_netstats;
631631 * @brief Timeout for floating DODAGs in milliseconds.
632632 */
633633#ifndef CONFIG_GNRC_RPL_DODAG_FLOAT_TIMEOUT
634- #define CONFIG_GNRC_RPL_DODAG_FLOAT_TIMEOUT (15 * MS_PER_SEC * SEC_PER_MIN)
634+ # define CONFIG_GNRC_RPL_DODAG_FLOAT_TIMEOUT (15 * MS_PER_SEC * SEC_PER_MIN)
635635#endif
636636
637637/**
Original file line number Diff line number Diff line change @@ -330,8 +330,10 @@ struct gnrc_rpl_dodag {
330330 uint8_t dio_opts ; /**< options in the next DIO
331331 (see @ref GNRC_RPL_REQ_DIO_OPTS "DIO Options") */
332332 evtimer_msg_event_t dao_event ; /**< DAO TX events (see @ref GNRC_RPL_MSG_TYPE_DODAG_DAO_TX) */
333- evtimer_msg_event_t float_timeout_event ; /**< floating dodag timeout events
334- (see @ref GNRC_RPL_MSG_TYPE_DODAG_FLOAT_TIMEOUT) */
333+ /**
334+ * floating dodag timeout events (see @ref GNRC_RPL_MSG_TYPE_DODAG_FLOAT_TIMEOUT)
335+ */
336+ evtimer_msg_event_t float_timeout_event ;
335337 trickle_t trickle ; /**< trickle representation */
336338};
337339
Original file line number Diff line number Diff line change @@ -341,7 +341,6 @@ void gnrc_rpl_local_repair(gnrc_rpl_dodag_t *dodag)
341341
342342 dodag -> dtsn ++ ;
343343
344-
345344 if ((CONFIG_GNRC_RPL_DODAG_FLOAT_TIMEOUT <= 0 ) || !_float_dodag (dodag )) {
346345 gnrc_rpl_poison_routes (dodag );
347346 }
You can’t perform that action at this time.
0 commit comments