fix a few comments in TSCH

This commit is contained in:
Atis Elsts 2016-04-25 17:13:46 +03:00
parent 0cb222e6e1
commit b3afd65b1d
2 changed files with 2 additions and 2 deletions

View File

@ -122,7 +122,7 @@
#define TSCH_DEFAULT_TS_TIMESLOT_LENGTH 10000 #define TSCH_DEFAULT_TS_TIMESLOT_LENGTH 10000
#elif TSCH_CONF_DEFAULT_TIMESLOT_LENGTH == 15000 #elif TSCH_CONF_DEFAULT_TIMESLOT_LENGTH == 15000
/* Default timeslot timing for platfroms requiring 15ms slots */ /* Default timeslot timing for platforms requiring 15ms slots */
#define TSCH_DEFAULT_TS_CCA_OFFSET 1800 #define TSCH_DEFAULT_TS_CCA_OFFSET 1800
#define TSCH_DEFAULT_TS_CCA 128 #define TSCH_DEFAULT_TS_CCA 128

View File

@ -73,7 +73,7 @@ tsch_rpl_callback_leaving_network(void)
} }
/*---------------------------------------------------------------------------*/ /*---------------------------------------------------------------------------*/
/* Set TSCH EB period based on current RPL DIO period. /* Set TSCH EB period based on current RPL DIO period.
* To use, set #define RPL_CALLBACK_PARENT_SWITCH tsch_rpl_callback_new_dio_interval */ * To use, set #define RPL_CALLBACK_NEW_DIO_INTERVAL tsch_rpl_callback_new_dio_interval */
void void
tsch_rpl_callback_new_dio_interval(uint8_t dio_interval) tsch_rpl_callback_new_dio_interval(uint8_t dio_interval)
{ {