summaryrefslogtreecommitdiffstatshomepage
path: root/stm/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'stm/main.c')
-rw-r--r--stm/main.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/stm/main.c b/stm/main.c
index 14fda936db..52ac11d81b 100644
--- a/stm/main.c
+++ b/stm/main.c
@@ -54,7 +54,9 @@
int errno;
static FATFS fatfs0;
+#if MICROPY_HW_HAS_SDCARD
static FATFS fatfs1;
+#endif
void flash_error(int n) {
for (int i = 0; i < n; i++) {