From 2459eabd66169d18f3f223c942cc73152ce6de68 Mon Sep 17 00:00:00 2001 From: Dan Halbert Date: Wed, 20 Mar 2019 12:21:36 -0400 Subject: flush flash filesystem once a second --- py/circuitpy_mpconfig.h | 1 + 1 file changed, 1 insertion(+) (limited to 'py') 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 -- cgit v1.2.3