mirror of
https://github.com/espressif/esp-idf.git
synced 2024-09-19 14:26:01 -04:00
openthread: set ot-netif as the default netif for cli example
This commit is contained in:
parent
4e2c6ac993
commit
65c6ed8eeb
@ -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