mirror of
https://github.com/oliverschmidt/contiki.git
synced 2024-12-21 19:29:18 +00:00
pass up a RADIO_NOACK to the MAC layer.
This commit is contained in:
parent
8fc8dfe656
commit
a8f9119ace
@ -96,6 +96,7 @@ enum {
|
||||
RADIO_TX_OK,
|
||||
RADIO_TX_ERR,
|
||||
RADIO_TX_COLLISION,
|
||||
RADIO_TX_NOACK,
|
||||
};
|
||||
|
||||
#endif /* __RADIO_H__ */
|
||||
|
@ -171,6 +171,9 @@ send_packet(mac_callback_t sent, void *ptr)
|
||||
case RADIO_TX_COLLISION:
|
||||
ret = MAC_TX_COLLISION;
|
||||
break;
|
||||
case RADIO_TX_NOACK:
|
||||
ret = MAC_TX_NOACK;
|
||||
break;
|
||||
default:
|
||||
ret = MAC_TX_ERR;
|
||||
break;
|
||||
|
Loading…
Reference in New Issue
Block a user