Skip to content

Commit

Permalink
Merge pull request #5245 from OlegHahm/at86rf2xx_netstats_ifdef
Browse files Browse the repository at this point in the history
at86rf2xx: fix netstats_l2 ifdef
  • Loading branch information
Kijewski committed Apr 5, 2016
2 parents 3b07949 + e0b475b commit f742839
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/at86rf2xx/at86rf2xx.c
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,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 */
Expand Down

0 comments on commit f742839

Please sign in to comment.