xiaoxiang781216 commented on code in PR #6725: URL: https://github.com/apache/incubator-nuttx/pull/6725#discussion_r931923559
########## include/nuttx/net/netdev.h: ########## @@ -272,6 +272,7 @@ struct net_driver_s struct netdev_varaddr_s radio; #endif + uint8_t unused; /* fix compile issue if all above defines are valid */ Review Comment: let's guard the whole union by: ``` #if defined(CONFIG_NET_ETHERNET) || defined(CONFIG_NET_6LOWPAN) || \ defined(CONFIG_NET_BLUETOOTH) || defined(CONFIG_NET_IEEE802154) ``` -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@nuttx.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org