summaryrefslogtreecommitdiff
path: root/supervisor
diff options
context:
space:
mode:
authorDan Halbert <halbert@halwitz.org>2019-02-19 19:28:53 -0500
committerGitHub <noreply@github.com>2019-02-19 19:28:53 -0500
commit0dc2600587f1ee75ee20da0d24219d415ab0f1ac (patch)
treea890a9c40ebf593e3d132f3846772aa26335dce0 /supervisor
parent3e24b9668e73c506355bc6117c216470c0098303 (diff)
parentb1e8c4367987944c3faaad613142fec974840044 (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.c2
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;