summaryrefslogtreecommitdiff
path: root/supervisor
diff options
context:
space:
mode:
authorScott Shawcroft <scott@adafruit.com>2020-12-22 10:11:54 -0800
committerGitHub <noreply@github.com>2020-12-22 10:11:54 -0800
commit8b5b602ea775f4957befc03e720e687135abd340 (patch)
tree10f19b532292b832d394677ea59ed5ab569148e7 /supervisor
parent65b295cd03c746630e5b93b4b5c71f557a01d9c5 (diff)
parent3b4c14f3ec8b36a00a7eeba562baa7647b82f2e2 (diff)
Merge pull request #3862 from dhalbert/storage-remount
unmounted filesystems start as ejected
Diffstat (limited to 'supervisor')
-rw-r--r--supervisor/shared/usb/usb_msc_flash.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/supervisor/shared/usb/usb_msc_flash.c b/supervisor/shared/usb/usb_msc_flash.c
index b39f60dcd..7532b6aea 100644
--- a/supervisor/shared/usb/usb_msc_flash.c
+++ b/supervisor/shared/usb/usb_msc_flash.c
@@ -39,7 +39,7 @@
#define MSC_FLASH_BLOCK_SIZE 512
-static bool ejected[1] = {false};
+static bool ejected[1] = {true};
void usb_msc_mount(void) {
// Reset the ejection tracking every time we're plugged into USB. This allows for us to battery