Skip to content
Snippets Groups Projects
Commit e110d412 authored by Oleg Hahm's avatar Oleg Hahm
Browse files

at86rf2xx_netdev: debug output is wrong

parent 4a13324a
No related branches found
No related tags found
No related merge requests found
...@@ -626,10 +626,10 @@ static void _isr(netdev2_t *netdev) ...@@ -626,10 +626,10 @@ static void _isr(netdev2_t *netdev)
assert(dev->pending_tx != 0); assert(dev->pending_tx != 0);
if ((--dev->pending_tx) == 0) { if ((--dev->pending_tx) == 0) {
at86rf2xx_set_state(dev, dev->idle_state); at86rf2xx_set_state(dev, dev->idle_state);
DEBUG("[at86rf2xx] return to state 0x%x\n", dev->idle_state);
} }
DEBUG("[at86rf2xx] EVT - TX_END\n"); DEBUG("[at86rf2xx] EVT - TX_END\n");
DEBUG("[at86rf2xx] return to state 0x%x\n", dev->idle_state);
if (netdev->event_callback && (dev->netdev.flags & AT86RF2XX_OPT_TELL_TX_END)) { if (netdev->event_callback && (dev->netdev.flags & AT86RF2XX_OPT_TELL_TX_END)) {
switch (trac_status) { switch (trac_status) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment