use SDK config information about BLE capabilities (#23621)

This commit is contained in:
Christian Baars 2025-06-30 18:50:52 +02:00 committed by GitHub
parent cc95aa5f0f
commit 550b8c5307
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -50,7 +50,7 @@
*/
#ifndef USE_BLE_ESP32
#ifdef ESP32 // ESP32 only. Use define USE_HM10 for ESP8266 support
#if defined CONFIG_IDF_TARGET_ESP32 || defined CONFIG_IDF_TARGET_ESP32C3 || defined CONFIG_IDF_TARGET_ESP32C2 || defined CONFIG_IDF_TARGET_ESP32C6 || defined CONFIG_IDF_TARGET_ESP32S3
#ifdef CONFIG_BT_NIMBLE_ENABLED
#ifdef USE_MI_ESP32
@ -3003,6 +3003,6 @@ bool Xsns62(uint32_t function)
return result;
}
#endif // USE_MI_ESP32
#endif // CONFIG_IDF_TARGET_ESP32 or CONFIG_IDF_TARGET_ESP32C3
#endif // CONFIG_BT_NIMBLE_ENABLED
#endif // ESP32
#endif // USE_BLE_ESP32