From eae495a7147983267371b09ea606977efa9111a5 Mon Sep 17 00:00:00 2001 From: Damien George Date: Thu, 12 Mar 2020 12:34:31 +1100 Subject: [PATCH] stm32/main: Fix bug mounting 3rd SD partition. Fixes issue #5753. --- ports/stm32/main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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";