Merge pull request #3862 from dhalbert/storage-remount

unmounted filesystems start as ejected
This commit is contained in:
Scott Shawcroft 2020-12-22 10:11:54 -08:00 committed by GitHub
commit 8b5b602ea7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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