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:
parent
2767e80459
commit
2357446491
@ -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 */
|
||||
|
Loading…
Reference in New Issue
Block a user