Skip to content

Commit

Permalink
Fix unsupported trace! call for EndpointAddress
Browse files Browse the repository at this point in the history
  • Loading branch information
Volkalex28 committed Jan 9, 2025
1 parent cd70c19 commit fb1368d
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 fb1368d

Please sign in to comment.