mirror of
https://github.com/apache/nuttx.git
synced 2026-06-04 14:53:47 +08:00
ieee802154: Blocks out a few more sections of template code to avoid warnings
This commit is contained in:
@@ -76,8 +76,10 @@
|
|||||||
|
|
||||||
int mac802154_req_purge(MACHANDLE mac, uint8_t msdu_handle)
|
int mac802154_req_purge(MACHANDLE mac, uint8_t msdu_handle)
|
||||||
{
|
{
|
||||||
|
#if 0
|
||||||
FAR struct ieee802154_privmac_s *priv =
|
FAR struct ieee802154_privmac_s *priv =
|
||||||
(FAR struct ieee802154_privmac_s *)mac;
|
(FAR struct ieee802154_privmac_s *)mac;
|
||||||
|
#endif
|
||||||
return -ENOTTY;
|
return -ENOTTY;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -72,7 +72,9 @@
|
|||||||
int mac802154_req_rxenable(MACHANDLE mac,
|
int mac802154_req_rxenable(MACHANDLE mac,
|
||||||
FAR struct ieee802154_rxenable_req_s *req)
|
FAR struct ieee802154_rxenable_req_s *req)
|
||||||
{
|
{
|
||||||
|
#if 0
|
||||||
FAR struct ieee802154_privmac_s * priv =
|
FAR struct ieee802154_privmac_s * priv =
|
||||||
(FAR struct ieee802154_privmac_s *)mac;
|
(FAR struct ieee802154_privmac_s *)mac;
|
||||||
|
#endif
|
||||||
return -ENOTTY;
|
return -ENOTTY;
|
||||||
}
|
}
|
||||||
Reference in New Issue
Block a user