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:
Anthony Merlino 2019-08-19 22:50:21 +00:00 committed by Gregory Nutt
parent c024a1f569
commit c184d8fca3

View File

@ -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;
}