summaryrefslogtreecommitdiff
path: root/firmware/drivers/fat.c
diff options
context:
space:
mode:
Diffstat (limited to 'firmware/drivers/fat.c')
-rw-r--r--firmware/drivers/fat.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/firmware/drivers/fat.c b/firmware/drivers/fat.c
index 3adca5e864..78aebd2e2b 100644
--- a/firmware/drivers/fat.c
+++ b/firmware/drivers/fat.c
@@ -482,7 +482,7 @@ int fat_mount(IF_MV2(int volume,) IF_MV2(int drive,) long startsector)
return 0;
}
-#ifdef HAVE_MULTIVOLUME
+#ifdef HAVE_HOTSWAP
int fat_unmount(int volume, bool flush)
{
int rc;
@@ -511,7 +511,7 @@ int fat_unmount(int volume, bool flush)
fat_bpb->mounted = false;
return rc;
}
-#endif
+#endif /* #ifdef HAVE_HOTSWAP */
void fat_recalc_free(IF_MV_NONVOID(int volume))
{