Allow running with only SD mounted

This commit is contained in:
d0k3 2016-03-03 15:41:19 +01:00
parent f331200506
commit 36213b606b

View File

@ -27,7 +27,7 @@ bool InitFS() {
snprintf(fsname, 7, "%lu:", numfs);
int res = f_mount(fs + numfs, fsname, 1);
if (res != FR_OK) {
if (numfs >= 4) break;
if (numfs >= 1) break;
ShowPrompt(false, "Initialising failed! (%lu/%s/%i)", numfs, fsname, res);
DeinitFS();
return false;