at86rf2xx: fix netstats_l2 ifdef
This commit is contained in:
parent
4d46a5f91e
commit
e0b475b25a
@ -105,7 +105,7 @@ void at86rf2xx_reset(at86rf2xx_t *dev)
|
||||
at86rf2xx_set_option(dev, AT86RF2XX_OPT_CSMA, true);
|
||||
at86rf2xx_set_option(dev, AT86RF2XX_OPT_TELL_RX_START, false);
|
||||
at86rf2xx_set_option(dev, AT86RF2XX_OPT_TELL_RX_END, true);
|
||||
#ifdef NETSTATS
|
||||
#ifdef MODULE_NETSTATS_L2
|
||||
at86rf2xx_set_option(dev, AT86RF2XX_OPT_TELL_TX_END, true);
|
||||
#endif
|
||||
/* set default protocol */
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user