Commit a2b9e97
committed
shared/usb: reply unsupported to PREVENT_ALLOW on all LUNs
Per @tannewt review on #10967: tinyusb advertises is_removable=1 for
every LUN in its default INQUIRY response (msc_device.c line 781), so
the per-LUN branch was inconsistent with what the host already sees.
Collapse to a single unconditional ILLEGAL_REQUEST reply — host keeps
polling TUR on all LUNs, so eject/re-mount works uniformly across
CIRCUITPY, SAVES, and SD.1 parent 060019f commit a2b9e97
1 file changed
Lines changed: 7 additions & 16 deletions
File tree
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
214 | 214 | | |
215 | 215 | | |
216 | 216 | | |
217 | | - | |
218 | | - | |
219 | | - | |
220 | | - | |
221 | | - | |
222 | | - | |
223 | | - | |
224 | | - | |
225 | | - | |
226 | | - | |
227 | | - | |
228 | | - | |
229 | | - | |
230 | | - | |
231 | | - | |
232 | | - | |
| 217 | + | |
| 218 | + | |
| 219 | + | |
| 220 | + | |
| 221 | + | |
| 222 | + | |
| 223 | + | |
233 | 224 | | |
234 | 225 | | |
235 | 226 | | |
| |||
0 commit comments