Correct Way to prevent SDcard Collision

19 Jun 2013

I have USBMSD_SD working with FatFileSystem both being able to write so SD card.

What is the correct way to modify the class to prevent both from accessing the card at the same time?

Can I use stallEndpoint and intercept the read/write call from USB? Or should I do it closer to the top maybe?

ideas?

thanks!