pub unsafe extern "C" fn esp_unregister_shutdown_handler(
    handle: Option<unsafe extern "C" fn()>
) -> i32
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