Skip to content

Commit

Permalink
Define USE_ESP32_BLE (esphome#6585)
Browse files Browse the repository at this point in the history
  • Loading branch information
edwardtfn authored Apr 22, 2024
1 parent 45ae78d commit 16e0b78
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions esphome/components/esp32_ble/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -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):
Expand Down

0 comments on commit 16e0b78

Please sign in to comment.