summaryrefslogtreecommitdiff
path: root/supervisor
diff options
context:
space:
mode:
authorScott Shawcroft <scott@tannewt.org>2018-11-12 13:59:29 -0800
committerScott Shawcroft <scott@tannewt.org>2018-11-14 17:21:48 -0800
commit47212ee31e16c50e3c170514e1076a8651e22146 (patch)
tree27187ee7622c111bafb184d9efa048d987b33689 /supervisor
parent7b4521f03907cd689d446c81f8e855b69f787cd5 (diff)
start debug
Diffstat (limited to 'supervisor')
-rw-r--r--supervisor/shared/filesystem.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/supervisor/shared/filesystem.c b/supervisor/shared/filesystem.c
index 264ba25f0..ebbc8c40d 100644
--- a/supervisor/shared/filesystem.c
+++ b/supervisor/shared/filesystem.c
@@ -50,7 +50,7 @@ void filesystem_init(bool create_allowed, bool force_create) {
supervisor_flash_init_vfs(vfs_fat);
// try to mount the flash
- FRESULT res = f_mount(&vfs_fat->fatfs);
+ volatile FRESULT res = f_mount(&vfs_fat->fatfs);
if ((res == FR_NO_FILESYSTEM && create_allowed) || force_create) {
// No filesystem so create a fresh one, or reformat has been requested.