Open chegewara opened 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:
USBCallbacks
Pros/cons:
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:
USBCallbacks
in each MSC class (ramdisk, sdcard etc), orUSBCallbacks
, to allow actions in mount/unmountPros/cons: