summaryrefslogtreecommitdiff
path: root/py
diff options
context:
space:
mode:
authorDan Halbert <halbert@halwitz.org>2019-03-20 12:21:36 -0400
committerDan Halbert <halbert@halwitz.org>2019-03-20 12:21:36 -0400
commit2459eabd66169d18f3f223c942cc73152ce6de68 (patch)
tree855da308cc8795b2a238b5e90a6b8e4712686f8b /py
parent8543695f9d6117d758d0cece4a921ce9396d3948 (diff)
flush flash filesystem once a second
Diffstat (limited to 'py')
-rw-r--r--py/circuitpy_mpconfig.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/py/circuitpy_mpconfig.h b/py/circuitpy_mpconfig.h
index 00f3c7b3f..df5bfbd8c 100644
--- a/py/circuitpy_mpconfig.h
+++ b/py/circuitpy_mpconfig.h
@@ -592,6 +592,7 @@ void run_background_tasks(void);
#define MICROPY_VM_HOOK_RETURN run_background_tasks();
#define CIRCUITPY_AUTORELOAD_DELAY_MS 500
+#define CIRCUITPY_FILESYSTEM_FLUSH_INTERVAL_MS 1000
#define CIRCUITPY_BOOT_OUTPUT_FILE "/boot_out.txt"
#endif // __INCLUDED_MPCONFIG_CIRCUITPY_H