Skip to content

Commit eae495a

Browse files
committed
stm32/main: Fix bug mounting 3rd SD partition.
Fixes issue #5753.
1 parent baf8aa2 commit eae495a

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎ports/stm32/main.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -260,7 +260,7 @@ STATIC bool init_sdcard_fs(void) {
260260
// subsequent partitions are numbered by their index in the partition table
261261
if (part_num == 2) {
262262
vfs->str = "/sd2";
263-
} else if (part_num == 2) {
263+
} else if (part_num == 3) {
264264
vfs->str = "/sd3";
265265
} else {
266266
vfs->str = "/sd4";

0 commit comments

Comments
 (0)