esp_wifi

Function 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.