1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00

drivers/ng_at86rf2xx: Print DEBUG message after switching to idle state

Reduce time spend idling in TX mode when debugging.
This commit is contained in:
Joakim Gebart 2015-07-17 09:12:20 +02:00
parent 26adc42ee6
commit 234f54be65

View File

@ -712,8 +712,8 @@ static void _isr_event(ng_netdev_t *device, uint32_t event_type)
if (dev->event_cb && (dev->options & NG_AT86RF2XX_OPT_TELL_TX_END)) {
dev->event_cb(NETDEV_EVENT_TX_COMPLETE, NULL);
}
DEBUG("[ng_at86rf2xx] EVT - TX_END\n");
ng_at86rf2xx_set_state(dev, dev->idle_state);
DEBUG("[ng_at86rf2xx] EVT - TX_END\n");
}
}
}