Skip to content

Commit

Permalink
Merge pull request #3748 from Volkalex28/fix_usb
Browse files Browse the repository at this point in the history
Fix unsupported trace! call for EndpointAddress
  • Loading branch information
Dirbaio authored Jan 9, 2025
2 parents 91f1b0b + fb1368d commit 92326f1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion embassy-stm32/src/usb/usb.rs
Original file line number Diff line number Diff line change
Expand Up @@ -638,7 +638,7 @@ impl<'d, T: Instance> driver::Bus for Bus<'d, T> {
}

fn endpoint_set_enabled(&mut self, ep_addr: EndpointAddress, enabled: bool) {
trace!("set_enabled {:x} {}", ep_addr, enabled);
trace!("set_enabled {:?} {}", ep_addr, enabled);
// This can race, so do a retry loop.
let reg = T::regs().epr(ep_addr.index() as _);
trace!("EPR before: {:04x}", reg.read().0);
Expand Down

0 comments on commit 92326f1

Please sign in to comment.