mirror of
https://github.com/espressif/esp-rainmaker.git
synced 2026-01-15 20:56:07 +00:00
If local control is enabled via config option (CONFIG_ESP_RMAKER_LOCAL_CTRL_AUTO_ENABLE), the enabling/disabling will happen internally and the behaviour will be unchanged. However, if the config option is disabled, applications can still call esp_rmaker_local_ctrl_enable/disable at runtime as and when required, if CONFIG_ESP_RMAKER_LOCAL_CTRL_FEATURE_ENABLE option is enabled. Note that the older config option CONFIG_ESP_RMAKER_LOCAL_CTRL_ENABLE has been renamed to CONFIG_ESP_RMAKER_LOCAL_CTRL_AUTO_ENABLE. However, CONFIG_ESP_RMAKER_LOCAL_CTRL_ENABLE will also continue to work and ensure backward compatibility