flipperzero_sys

Function storage_sd_format

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

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