TSCH: set max hopping sequence length to default hopping sequence

This commit is contained in:
Simon Duquennoy 2018-10-03 12:47:10 +02:00
parent 4583fff094
commit 423412d99c

View File

@ -151,7 +151,7 @@
#ifdef TSCH_CONF_HOPPING_SEQUENCE_MAX_LEN #ifdef TSCH_CONF_HOPPING_SEQUENCE_MAX_LEN
#define TSCH_HOPPING_SEQUENCE_MAX_LEN TSCH_CONF_HOPPING_SEQUENCE_MAX_LEN #define TSCH_HOPPING_SEQUENCE_MAX_LEN TSCH_CONF_HOPPING_SEQUENCE_MAX_LEN
#else #else
#define TSCH_HOPPING_SEQUENCE_MAX_LEN 16 #define TSCH_HOPPING_SEQUENCE_MAX_LEN sizeof(TSCH_DEFAULT_HOPPING_SEQUENCE)
#endif #endif
/******** Configuration: association *******/ /******** Configuration: association *******/