We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents ca2977b + 1dc4628 commit 01973e1Copy full SHA for 01973e1
supervisor/shared/usb/usb_msc_flash.c
@@ -141,7 +141,7 @@ static fs_user_mount_t *get_vfs(int lun) {
141
if (lun == SDCARD_LUN) {
142
const char *path_under_mount;
143
fs_user_mount_t *sdcard = filesystem_for_path("/sd", &path_under_mount);
144
- if (sdcard != root && (sdcard->blockdev.flags & MP_BLOCKDEV_FLAG_NATIVE) != 0 && gc_nbytes(sdcard) == 0) {
+ if (sdcard != root && (sdcard->blockdev.flags & MP_BLOCKDEV_FLAG_NATIVE) != 0) {
145
return sdcard;
146
} else {
147
// Clear any ejected state so that a re-insert causes it to reappear.
0 commit comments