stm32/main: Fix bug mounting 3rd SD partition.

Fixes issue #5753.
pull/5756/head
Damien George 2020-03-12 12:34:31 +11:00
rodzic baf8aa286a
commit eae495a714
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -260,7 +260,7 @@ STATIC bool init_sdcard_fs(void) {
// subsequent partitions are numbered by their index in the partition table
if (part_num == 2) {
vfs->str = "/sd2";
} else if (part_num == 2) {
} else if (part_num == 3) {
vfs->str = "/sd3";
} else {
vfs->str = "/sd4";