Checks bootloader size not greater than 32k. Bug fixes.

This commit is contained in:
bsongis
2014-03-17 17:32:14 +01:00
parent 8bc28248e0
commit f907abb730
3 changed files with 6 additions and 6 deletions
+3 -1
View File
@@ -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!