Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
tinyusb/msc_fat_view: Fix directory population condition
Condition to populate disk presented over USB checked if last SCSI command was TEST_UNIT_READY. This only worked if TEST_UNIT_READY was send twice one after the other. It seems to work on Linux but for Windows it did not happen very often. Now disk data is populated (init_disk_data()) on first TEST_UNIT_READY request when medium state is set to MEDIUM_REALOAD.
- Loading branch information