mirror of
https://github.com/espressif/esp-idf.git
synced 2026-10-02 11:10:54 +03:00
fix(openthread): restore LED state indicator for example code
This commit is contained in:
@@ -123,6 +123,9 @@ void app_main(void)
|
|||||||
ESP_ERROR_CHECK(esp_coex_wifi_i154_enable());
|
ESP_ERROR_CHECK(esp_coex_wifi_i154_enable());
|
||||||
#endif
|
#endif
|
||||||
#endif
|
#endif
|
||||||
|
#if CONFIG_OPENTHREAD_STATE_INDICATOR_ENABLE
|
||||||
|
ESP_ERROR_CHECK(esp_openthread_state_indicator_init(esp_openthread_get_instance()));
|
||||||
|
#endif
|
||||||
#if CONFIG_OPENTHREAD_NETWORK_AUTO_START
|
#if CONFIG_OPENTHREAD_NETWORK_AUTO_START
|
||||||
ot_network_auto_start();
|
ot_network_auto_start();
|
||||||
#endif
|
#endif
|
||||||
|
|||||||
@@ -74,6 +74,9 @@ void app_main(void)
|
|||||||
#if CONFIG_OPENTHREAD_CLI_ESP_EXTENSION
|
#if CONFIG_OPENTHREAD_CLI_ESP_EXTENSION
|
||||||
esp_cli_custom_command_init();
|
esp_cli_custom_command_init();
|
||||||
#endif
|
#endif
|
||||||
|
#if CONFIG_OPENTHREAD_STATE_INDICATOR_ENABLE
|
||||||
|
ESP_ERROR_CHECK(esp_openthread_state_indicator_init(esp_openthread_get_instance()));
|
||||||
|
#endif
|
||||||
#if CONFIG_OPENTHREAD_NETWORK_AUTO_START
|
#if CONFIG_OPENTHREAD_NETWORK_AUTO_START
|
||||||
ot_network_auto_start();
|
ot_network_auto_start();
|
||||||
#endif
|
#endif
|
||||||
|
|||||||
@@ -83,6 +83,9 @@ void app_main(void)
|
|||||||
#if CONFIG_OPENTHREAD_CLI_ESP_EXTENSION
|
#if CONFIG_OPENTHREAD_CLI_ESP_EXTENSION
|
||||||
esp_cli_custom_command_init();
|
esp_cli_custom_command_init();
|
||||||
#endif
|
#endif
|
||||||
|
#if CONFIG_OPENTHREAD_STATE_INDICATOR_ENABLE
|
||||||
|
ESP_ERROR_CHECK(esp_openthread_state_indicator_init(esp_openthread_get_instance()));
|
||||||
|
#endif
|
||||||
#if CONFIG_OPENTHREAD_NETWORK_AUTO_START
|
#if CONFIG_OPENTHREAD_NETWORK_AUTO_START
|
||||||
ot_network_auto_start();
|
ot_network_auto_start();
|
||||||
#endif
|
#endif
|
||||||
|
|||||||
Reference in New Issue
Block a user