summaryrefslogtreecommitdiff
path: root/supervisor/filesystem.h
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 /supervisor/filesystem.h
parent8543695f9d6117d758d0cece4a921ce9396d3948 (diff)
flush flash filesystem once a second
Diffstat (limited to 'supervisor/filesystem.h')
-rw-r--r--supervisor/filesystem.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/supervisor/filesystem.h b/supervisor/filesystem.h
index 76f235f47..c7c951a5e 100644
--- a/supervisor/filesystem.h
+++ b/supervisor/filesystem.h
@@ -31,6 +31,10 @@
#include "extmod/vfs_fat.h"
+extern volatile bool filesystem_flush_requested;
+
+void filesystem_background(void);
+void filesystem_tick(void);
void filesystem_init(bool create_allowed, bool force_create);
void filesystem_flush(void);
bool filesystem_present(void);