mirror of
https://github.com/Next-Flip/Momentum-Firmware.git
synced 2026-05-13 15:28:36 -07:00
Fix FATfs drive IDs (0=/ext 1=/mnt)
This commit is contained in:
@@ -43,10 +43,12 @@ Storage* storage_app_alloc(void) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
#ifndef FURI_RAM_EXEC
|
#ifndef FURI_RAM_EXEC
|
||||||
storage_mnt_init(&app->storage[ST_MNT]);
|
|
||||||
storage_int_init(&app->storage[ST_INT]);
|
storage_int_init(&app->storage[ST_INT]);
|
||||||
#endif
|
#endif
|
||||||
storage_ext_init(&app->storage[ST_EXT]);
|
storage_ext_init(&app->storage[ST_EXT]);
|
||||||
|
#ifndef FURI_RAM_EXEC
|
||||||
|
storage_mnt_init(&app->storage[ST_MNT]);
|
||||||
|
#endif
|
||||||
|
|
||||||
// sd icon gui
|
// sd icon gui
|
||||||
app->sd_gui.enabled = false;
|
app->sd_gui.enabled = false;
|
||||||
|
|||||||
Reference in New Issue
Block a user