10000
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.
gc_nbytes
1 parent b0ebbb1 commit 1dc4628Copy full SHA for 1dc4628
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