Skip to content

Commit fb1368d

Browse files
committed
Fix unsupported trace! call for EndpointAddress
1 parent cd70c19 commit fb1368d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

embassy-stm32/src/usb/usb.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -638,7 +638,7 @@ impl<'d, T: Instance> driver::Bus for Bus<'d, T> {
638638
}
639639

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

0 commit comments

Comments
 (0)