summaryrefslogtreecommitdiff
path: root/supervisor
diff options
context:
space:
mode:
authorDan Halbert <halbert@halwitz.org>2020-12-21 20:43:46 -0500
committerDan Halbert <halbert@halwitz.org>2020-12-21 20:43:46 -0500
commit3b4c14f3ec8b36a00a7eeba562baa7647b82f2e2 (patch)
tree81f5cf8850a75b13b0e4f3fa716b59125ebc777b /supervisor
parentfd21ff59d996274f7c11e3b907dd81eff411d0b3 (diff)
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