chegewara / EspTinyUSB

ESP32S2 native USB library. Implemented few common classes, like MIDI, CDC, HID or DFU (update).
MIT License
489 stars 70 forks source link

MSC moun/unmout issue #24

Open chegewara opened 3 years ago

chegewara commented 3 years ago

There is issue with unmout msc device. When device is unmounted from system, but onReady will return true, then tinyusb stack will call onunmout all the time: https://github.com/chegewara/EspTinyUSB/blob/master/src/classes/msc/ramdisk.cpp#L32

We need to think how to implement this:

Pros/cons: