8000 stm32/main: Fix bug mounting 3rd SD partition. · yazici/micropython@eae495a · GitHub
[go: up one dir, main page]

Skip to content

Commit eae495a

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

File tree

1 file changed

+1
- file changed
+1
-1
lines changed

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)
0