summaryrefslogtreecommitdiff
path: root/stmhal/pyexec.c
diff options
context:
space:
mode:
authorDamien George <damien.p.george@gmail.com>2014-03-17 14:04:19 +0000
committerDamien George <damien.p.george@gmail.com>2014-03-17 14:04:19 +0000
commitb92d3e1fded0ad335f7a2c8c0f5dea91d258bae0 (patch)
treeada1f189c3fefe4f4fe3150cdb4b0d62b6162aa1 /stmhal/pyexec.c
parent9e5ea4d768da3273b6d060cceffcc858e1c4827d (diff)
stmhal: Add fatfs support, working with flash and SD card.
Diffstat (limited to 'stmhal/pyexec.c')
-rw-r--r--stmhal/pyexec.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/stmhal/pyexec.c b/stmhal/pyexec.c
index f1aa7dcad..e17b9aea4 100644
--- a/stmhal/pyexec.c
+++ b/stmhal/pyexec.c
@@ -20,9 +20,7 @@
#include "gccollect.h"
#include "systick.h"
#include "pyexec.h"
-#if 0
#include "storage.h"
-#endif
#include "usb.h"
#include "usart.h"
@@ -65,11 +63,9 @@ int stdin_rx_chr(void) {
return usart_rx_char(pyb_usart_global_debug);
}
HAL_Delay(1);
-#if 0
if (storage_needs_flush()) {
storage_flush();
}
-#endif
}
}