File tree Expand file tree Collapse file tree 2 files changed +4
-6
lines changed Expand file tree Collapse file tree 2 files changed +4
-6
lines changed Original file line number Diff line number Diff line change 23
23
#include < freertos/task.h>
24
24
#include < esp_err.h>
25
25
#include < nvs_flash.h>
26
+
26
27
#if SOC_BLE_SUPPORTED
27
28
#include < esp_bt.h>
28
- #else
29
- // For ESP32-P4 and other chips without native BLE support
30
- // Define minimal types needed for interface compatibility
31
- typedef int esp_power_level_t ;
32
- typedef int esp_ble_power_type_t ;
33
- #define ESP_BLE_PWR_TYPE_DEFAULT 0
34
29
#endif
35
30
36
31
#include < esp_err.h>
Original file line number Diff line number Diff line change 22
22
***************************************************************************/
23
23
24
24
#include < map>
25
+
25
26
#if defined(SOC_BLE_SUPPORTED)
26
27
#include < esp_bt.h>
27
28
#else
30
31
typedef int esp_power_level_t ;
31
32
typedef int esp_ble_power_type_t ;
32
33
#define ESP_BLE_PWR_TYPE_DEFAULT 0
34
+ #define ESP_PWR_LVL_N12 0
33
35
#endif
36
+
34
37
#include " WString.h"
35
38
#include " BLEServer.h"
36
39
#include " BLEClient.h"
You can’t perform that action at this time.
0 commit comments