summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ports/stm32/main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ports/stm32/main.c b/ports/stm32/main.c
index 1bda96490..e4f785382 100644
--- a/ports/stm32/main.c
+++ b/ports/stm32/main.c
@@ -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";