Checks bootloader size not greater than 32k. Bug fixes.
This commit is contained in:
@@ -950,7 +950,9 @@ FIL g_telemetryFile = {0};
|
||||
#if defined(BOOT)
|
||||
void sdInit(void)
|
||||
{
|
||||
f_mount(0, &g_FATFS_Obj);
|
||||
if (f_mount(0, &g_FATFS_Obj) == FR_OK) {
|
||||
f_chdir("/");
|
||||
}
|
||||
}
|
||||
#else
|
||||
// TODO shouldn't be there!
|
||||
|
||||
Reference in New Issue
Block a user