diff options
| author | Dan Halbert <halbert@halwitz.org> | 2019-02-19 19:28:53 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2019-02-19 19:28:53 -0500 |
| commit | 0dc2600587f1ee75ee20da0d24219d415ab0f1ac (patch) | |
| tree | a890a9c40ebf593e3d132f3846772aa26335dce0 /supervisor | |
| parent | 3e24b9668e73c506355bc6117c216470c0098303 (diff) | |
| parent | b1e8c4367987944c3faaad613142fec974840044 (diff) | |
Merge pull request #1552 from tannewt/onsdbitmap
Fix displaying images off of SD cards.
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; |
