mirror of
https://github.com/espressif/esp-idf.git
synced 2025-08-10 16:14:34 +02:00
fix BLE sleep can not be enabled
This commit is contained in:
@@ -128,8 +128,8 @@ extern "C" {
|
|||||||
#define HCI_UART_EN 0 // hci ram mode
|
#define HCI_UART_EN 0 // hci ram mode
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef CONFIG_BT_NIMBLE_SLEEP_ENABLE
|
#ifdef CONFIG_BT_LE_SLEEP_ENABLE
|
||||||
#define NIMBLE_SLEEP_ENABLE CONFIG_BT_NIMBLE_SLEEP_ENABLE
|
#define NIMBLE_SLEEP_ENABLE CONFIG_BT_LE_SLEEP_ENABLE
|
||||||
#else
|
#else
|
||||||
#define NIMBLE_SLEEP_ENABLE 0
|
#define NIMBLE_SLEEP_ENABLE 0
|
||||||
#endif
|
#endif
|
||||||
|
@@ -128,8 +128,8 @@ extern "C" {
|
|||||||
#define HCI_UART_EN 0 // hci ram mode
|
#define HCI_UART_EN 0 // hci ram mode
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef CONFIG_BT_NIMBLE_SLEEP_ENABLE
|
#ifdef CONFIG_BT_LE_SLEEP_ENABLE
|
||||||
#define NIMBLE_SLEEP_ENABLE CONFIG_BT_NIMBLE_SLEEP_ENABLE
|
#define NIMBLE_SLEEP_ENABLE CONFIG_BT_LE_SLEEP_ENABLE
|
||||||
#else
|
#else
|
||||||
#define NIMBLE_SLEEP_ENABLE 0
|
#define NIMBLE_SLEEP_ENABLE 0
|
||||||
#endif
|
#endif
|
||||||
|
Reference in New Issue
Block a user