Function esp_wifi::deinit_unchecked

source ·
pub unsafe fn deinit_unchecked() -> Result<(), InitializationError>
Expand description

Deinitializes the entire radio stack

This can be useful to shutdown the stack before going to sleep for example.

§Safety

The user must ensure that any use of the radio via the WIFI/BLE/ESP-NOW drivers are complete, else undefined behaviour may occur within those drivers.