summaryrefslogtreecommitdiff
path: root/py
diff options
context:
space:
mode:
authorScott Shawcroft <scott@tannewt.org>2019-03-26 13:47:43 -0700
committerGitHub <noreply@github.com>2019-03-26 13:47:43 -0700
commit2c93ce5a28a12e2a59d84f602c97b24ff06b72fb (patch)
tree4e2fcaf24a03bc54bbeb6804c0e0da6cf8449587 /py
parent952c9c56b20a65b865c21a6e66e2b4baa82377d8 (diff)
parent2229f17911bae7f6db386aad96ac3fa077a46862 (diff)
Merge pull request #1672 from dhalbert/regular-fs-flush
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 e96d811ac..be97b0a51 100644
--- a/py/circuitpy_mpconfig.h
+++ b/py/circuitpy_mpconfig.h
@@ -597,6 +597,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