electro-smith / libDaisy

Hardware Library for the Daisy Audio Platform
https://www.electro-smith.com/daisy
MIT License
314 stars 131 forks source link

USB MSD - Add user-definable callbacks for connect/disconnect, etc. events #444

Closed stephenhensley closed 2 years ago

stephenhensley commented 2 years ago

The STM32 middleware user callback is implemented internally at the moment, and doesn't actually do anything.

It would be cool to add some user-callbacks for events like disconnect/connect, etc.

Depending on what the setup ends up looking like with whatever changes come in with #434 it might be advantageous to add it for that.