rust-embedded-community / usb-device

Experimental device-side USB framework for microcontrollers in Rust.
MIT License
413 stars 77 forks source link

Updating poll functions to return results #147

Open ryan-summers opened 3 months ago

ryan-summers commented 3 months ago

This PR updates the traits to allow poll() to return Result<> types if needed. I'm unsure if the UsbClass::poll() function should return a Result or not currently.