mirror of
https://github.com/apache/nuttx-apps.git
synced 2026-08-17 02:13:30 +00:00
apps/: Remove/replace all conditional logic based on CONFIG_NSOCKET_DESCRIPTORS == 0. That value is always greater than zero now. In places just replace with #ifdef CONFIG_NET.
This commit is contained in:
parent
a14f3fbffb
commit
b2f46360de
32 changed files with 73 additions and 77 deletions
|
|
@ -52,8 +52,7 @@
|
|||
#include "nuttx/wireless/pktradio.h"
|
||||
#include "netutils/netlib.h"
|
||||
|
||||
#if (defined(CONFIG_NET_6LOWPAN) || defined(CONFIG_NET_IEEE802154)) && \
|
||||
CONFIG_NSOCKET_DESCRIPTORS > 0
|
||||
#if defined(CONFIG_NET_6LOWPAN) || defined(CONFIG_NET_IEEE802154)
|
||||
|
||||
/****************************************************************************
|
||||
* Private Functions
|
||||
|
|
@ -190,5 +189,5 @@ bool netlib_nodeaddrconv(FAR const char *addrstr,
|
|||
return false;
|
||||
}
|
||||
|
||||
#endif /* (CONFIG_NET_6LOWPAN || CONFIG_NET_IEEE802154) && CONFIG_NSOCKET_DESCRIPTORS */
|
||||
#endif /* CONFIG_NET_6LOWPAN || CONFIG_NET_IEEE802154 */
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue