PaulStoffregen / USBHost_t36

USB Host Library for Teensy 3.6 and 4.0
165 stars 85 forks source link

Experiment - Add a msReadSectorsWithCB function #58

Closed KurtE closed 3 years ago

KurtE commented 3 years ago

Experiment with the VolumeName and other MSC example scketchs in the UsbMSCFat project, in order to get the free space faster!

This included adding timeouts as sometimes the host does not fully respond. Try to keep the code from hanging if for some reason we don't get enough messages back from host...

KurtE commented 3 years ago

It would be good to get this one into a beta, as some of the MSC code is making use of it. Speeds up reading of how much space is free on an Fat32 drive. Which without may take several sometimes > 10 seconds to compute how space is free.