We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d613776 commit ee18b5cCopy full SHA for ee18b5c
ports/atmel-samd/usb_mass_storage.c
@@ -80,7 +80,7 @@ int32_t usb_msc_disk_eject(uint8_t lun) {
80
fs_user_mount_t* current_mount = get_vfs(lun);
81
// Return ERR_NOT_READY if not ready, otherwise ERR_NONE.
82
if (current_mount == NULL) {
83
- return ERR_ABORTED;
+ return ERR_NOT_FOUND;
84
}
85
// TODO(tannewt): Should we flush here?
86
return ERR_NONE;
@@ -98,7 +98,7 @@ int32_t usb_msc_disk_is_ready(uint8_t lun) {
98
99
100
101
102
103
104
0 commit comments