include/nuttx/net/bluetooth.h: Ignore content if CONFIG_NET_BLUETOOTH is not set. This is necessary because bt_hci.h content was previously comment out because it uses several compiler specific things include zero-dimensione arrays and uint64_t. Neither are supported by the C89 ZiLOG ZDS-II compiler.

This commit is contained in:
Gregory Nutt 2019-06-02 12:57:18 -06:00
parent 2767e80459
commit 2357446491

View File

@ -40,8 +40,11 @@
* Public Function Prototypes
****************************************************************************/
#include <nuttx/config.h>
#include <nuttx/wireless/bluetooth/bt_hci.h>
#ifdef CONFIG_NET_BLUETOOTH
/****************************************************************************
* Public Function Prototypes
****************************************************************************/
@ -144,4 +147,5 @@ int bluetooth_input(FAR struct radio_driver_s *radio,
FAR struct iob_s *framelist,
FAR struct bluetooth_frame_meta_s *meta);
#endif /* CONFIG_NET_BLUETOOTH */
#endif /* __INCLUDE_NUTTX_NET_BLUETOOTH_H */