mirror of
https://github.com/espressif/esp-idf.git
synced 2026-08-18 06:35:35 +03:00
fix(openthread): fix openthread radio spinel deinit
This commit is contained in:
@@ -156,6 +156,8 @@ esp_err_t esp_openthread_rcp_init(void)
|
||||
void esp_openthread_radio_deinit(void)
|
||||
{
|
||||
s_radio.Deinit();
|
||||
s_spinel_driver.Deinit();
|
||||
s_spinel_interface.GetSpinelInterface().Disable();
|
||||
esp_openthread_platform_workflow_unregister(radiospinel_workflow);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user