We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 02f7e5d commit 38ade73Copy full SHA for 38ade73
nrf-hal-common/src/usbd/mod.rs
@@ -625,14 +625,10 @@ impl UsbBus for Usbd {
625
626
// TODO: Check ISO EP
627
628
- if out_complete != 0 || in_complete != 0 || ep_setup != 0 {
629
- PollResult::Data {
630
- ep_out: out_complete,
631
- ep_in_complete: in_complete,
632
- ep_setup,
633
- }
634
- } else {
635
- PollResult::None
+ PollResult::Data {
+ ep_out: out_complete,
+ ep_in_complete: in_complete,
+ ep_setup,
636
}
637
})
638
0 commit comments