Merged in antmerlino/nuttx/xbee-iobuser-fix (pull request #1010)
xbee: Fixes one instance of the use of IOBUSER_WIRELESS_MAC802154 which isn't available without the software MAC layer. Instead we use IOBUSER_WIRELESS_RAD802154 throughout the whole driver since it is always available when IEEE 802.15.4 support is enable Approved-by: Gregory Nutt <gnutt@nuttx.org>
This commit is contained in:
parent
c024a1f569
commit
c184d8fca3
@ -416,7 +416,7 @@ int xbee_req_data(XBEEHANDLE xbee,
|
||||
while (!priv->txdone);
|
||||
|
||||
nxsem_post(&priv->tx_sem);
|
||||
iob_free(frame, IOBUSER_WIRELESS_MAC802154);
|
||||
iob_free(frame, IOBUSER_WIRELESS_RAD802154);
|
||||
return OK;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user