mirror of
https://github.com/esphome/esphome.git
synced 2024-12-22 13:34:54 +01:00
Define USE_ESP32_BLE
(#6585)
This commit is contained in:
parent
45ae78de03
commit
16e0b78c64
1 changed files with 2 additions and 0 deletions
|
@ -65,6 +65,8 @@ async def to_code(config):
|
|||
add_idf_sdkconfig_option("CONFIG_BT_ENABLED", True)
|
||||
add_idf_sdkconfig_option("CONFIG_BT_BLE_42_FEATURES_SUPPORTED", True)
|
||||
|
||||
cg.add_define("USE_ESP32_BLE")
|
||||
|
||||
|
||||
@automation.register_condition("ble.enabled", BLEEnabledCondition, cv.Schema({}))
|
||||
async def ble_enabled_to_code(config, condition_id, template_arg, args):
|
||||
|
|
Loading…
Reference in a new issue