Use the same scale for ETX calculation as for rank calculations to avoid conversion errors between the two.

This commit is contained in:
Nicolas Tsiftes 2014-03-18 08:10:42 +01:00
parent 77ef1f08b2
commit 5aca90e73d

View file

@ -203,7 +203,7 @@
* whose integer part can be obtained by dividing the value by
* RPL_DAG_MC_ETX_DIVISOR.
*/
#define RPL_DAG_MC_ETX_DIVISOR 128
#define RPL_DAG_MC_ETX_DIVISOR 256
/* DIS related */
#define RPL_DIS_SEND 1