storage_sd_unmount

Function storage_sd_unmount 

Source
pub unsafe extern "C" fn storage_sd_unmount(
    storage: *mut Storage,
) -> FS_Error
Expand description

Unmount the SD card.

These return values have special meaning:

  • FSE_NOT_READY if the SD card is not mounted.
  • FSE_DENIED if there are open files on the SD card.

§Arguments

  • storage - pointer to a storage API instance.

§Returns

FSE_OK if the card was successfully formatted, any other error code on failure.