mirror of
https://github.com/esphome/esphome.git
synced 2025-01-19 04:20:56 +00:00
Define USE_ESP32_BLE
(#6585)
This commit is contained in:
parent
45ae78de03
commit
16e0b78c64
@ -65,6 +65,8 @@ async def to_code(config):
|
|||||||
add_idf_sdkconfig_option("CONFIG_BT_ENABLED", True)
|
add_idf_sdkconfig_option("CONFIG_BT_ENABLED", True)
|
||||||
add_idf_sdkconfig_option("CONFIG_BT_BLE_42_FEATURES_SUPPORTED", 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({}))
|
@automation.register_condition("ble.enabled", BLEEnabledCondition, cv.Schema({}))
|
||||||
async def ble_enabled_to_code(config, condition_id, template_arg, args):
|
async def ble_enabled_to_code(config, condition_id, template_arg, args):
|
||||||
|
Loading…
x
Reference in New Issue
Block a user