summaryrefslogtreecommitdiffstats
path: root/firmware/export/fat.h
diff options
context:
space:
mode:
Diffstat (limited to 'firmware/export/fat.h')
-rw-r--r--firmware/export/fat.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/firmware/export/fat.h b/firmware/export/fat.h
index 0dfd395ea7..3cf2923b78 100644
--- a/firmware/export/fat.h
+++ b/firmware/export/fat.h
@@ -82,6 +82,10 @@ struct fat_dir
unsigned char sectorcache[3][SECTOR_SIZE];
};
+#ifdef HAVE_HOTSWAP
+extern void fat_lock(void);
+extern void fat_unlock(void);
+#endif
extern void fat_init(void);
extern int fat_mount(IF_MV2(int volume,) IF_MV2(int drive,) long startsector);