Function esp_idf_sys::esp_unregister_shutdown_handler
source · pub unsafe extern "C" fn esp_unregister_shutdown_handler(
handle: shutdown_handler_t,
) -> esp_err_t
Expand description
@brief Unregister shutdown handler
This function allows you to unregister a handler which was previously registered using esp_register_shutdown_handler function.
- ESP_OK on success
- ESP_ERR_INVALID_STATE if the given handler hasn’t been registered before