esp_littlefs_sdmmc_info() function
Get information for littlefs on SD card
Arguments
sdcard
the SD card to get info for.
total_bytes
Size of the file system
used_bytes
Current used bytes in the file system
Return value
- ESP_OK if success - ESP_ERR_INVALID_STATE if not mounted