mirror of
https://github.com/espressif/esp-idf.git
synced 2024-10-05 20:47:46 -04:00
Merge branch 'feature/set_default_netif_for_openthread_cli' into 'master'
openthread: set ot-netif as the default netif for cli example See merge request espressif/esp-idf!22237
This commit is contained in:
commit
32673e888e
@ -77,6 +77,7 @@ static void ot_task_worker(void *aContext)
|
||||
esp_netif_t *openthread_netif;
|
||||
// Initialize the esp_netif bindings
|
||||
openthread_netif = init_openthread_netif(&config);
|
||||
esp_netif_set_default_netif(openthread_netif);
|
||||
|
||||
#if CONFIG_OPENTHREAD_CLI_ESP_EXTENSION
|
||||
esp_cli_custom_command_init();
|
||||
|
Loading…
Reference in New Issue
Block a user