summaryrefslogtreecommitdiff
path: root/stm/main.c
diff options
context:
space:
mode:
authorDave Hylands <dhylands@gmail.com>2014-02-16 23:14:49 -0800
committerDave Hylands <dhylands@gmail.com>2014-02-16 23:14:49 -0800
commit90928f1194421b40c63cc4773f1c583d2b8cbe58 (patch)
tree19252ac5912ecb23768688be3c422d0ff7005a10 /stm/main.c
parent402dc31aa7447c5825f2bcfc9f0e1b9a77542f17 (diff)
Fix build for netduino and stm32f4disc
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 14fda936d..52ac11d81 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++) {