SD Driver: reinit sd card on error (#2493)
* SD Driver: reinit sd card on error * SD Driver: cleanup fatfs bindings * Storage: optimized glue * Storage: move fatfs initialization to appropriate subsystems, minor code cleanup * SD Driver: minor code cleanup Co-authored-by: あく <alleteam@gmail.com>
This commit is contained in:
@@ -44,7 +44,7 @@ static bool flipper_update_init() {
|
||||
|
||||
furi_hal_spi_config_init();
|
||||
|
||||
MX_FATFS_Init();
|
||||
fatfs_init();
|
||||
if(!hal_sd_detect()) {
|
||||
return false;
|
||||
}
|
||||
|
Reference in New Issue
Block a user