diff options
| author | Scott Shawcroft <scott@tannewt.org> | 2019-02-14 12:54:34 -0800 |
|---|---|---|
| committer | Scott Shawcroft <scott@tannewt.org> | 2019-02-19 14:50:31 -0800 |
| commit | 46fd60c70398b51136a2deea84f30e867679ca53 (patch) | |
| tree | d258a055ea443cb8b0b1879a2905af0eb03a3a35 /supervisor | |
| parent | 4e75aaecd07ea954aeba5dda59ed3d1b37bfc17d (diff) | |
Prevent infinite display update recursion and fix VFS mounting
Fixes #1529
Diffstat (limited to 'supervisor')
| -rw-r--r-- | supervisor/shared/filesystem.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/supervisor/shared/filesystem.c b/supervisor/shared/filesystem.c index d968f4798..3382d28be 100644 --- a/supervisor/shared/filesystem.c +++ b/supervisor/shared/filesystem.c @@ -95,7 +95,7 @@ void filesystem_flush(void) { void filesystem_writable_by_python(bool writable) { fs_user_mount_t *vfs = &_internal_vfs; - if (writable) { + if (!writable) { vfs->flags |= FSUSER_USB_WRITABLE; } else { vfs->flags &= ~FSUSER_USB_WRITABLE; |
