Fix c++ for config

This commit is contained in:
Ben V. Brown
2022-11-20 17:59:08 +11:00
parent 3f34d240fe
commit d97313cac8

View File

@@ -2,6 +2,9 @@
#define BLE_CONFIG_H #define BLE_CONFIG_H
#include "FreeRTOSConfig.h" #include "FreeRTOSConfig.h"
#ifdef __cplusplus
extern "C" {
#endif
/** /**
* CONFIG_BLUETOOTH: Enable the bluetooh stack * CONFIG_BLUETOOTH: Enable the bluetooh stack
@@ -609,8 +612,8 @@ BT_SMP_DIST_ENC_KEY bit is not cleared while remote ENC_KEY is received.*/
#if defined(CONFIG_BT_CENTRAL) || defined(CONFIG_BT_OBSERVER) #if defined(CONFIG_BT_CENTRAL) || defined(CONFIG_BT_OBSERVER)
// #define BFLB_BLE_NOTIFY_ADV_DISCARDED // #define BFLB_BLE_NOTIFY_ADV_DISCARDED
#endif #endif
#if defined(__cplusplus) #ifdef __cplusplus
} };
#endif #endif
#endif /* BLE_CONFIG_H */ #endif /* BLE_CONFIG_H */