Function esp_idf_hal::sys::esp_wifi_deinit
source ยท pub unsafe extern "C" fn esp_wifi_deinit() -> i32
Expand description
@brief Deinit WiFi Free all resource allocated in esp_wifi_init and stop WiFi task
@attention 1. This API should be called if you want to remove WiFi driver from the system
@return
- ESP_OK: succeed
- ESP_ERR_WIFI_NOT_INIT: WiFi is not initialized by esp_wifi_init