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 1fb1fa5 commit cee5b66Copy full SHA for cee5b66
src/usb.rs
@@ -49,7 +49,7 @@ pub struct Peripheral<Dm: DmPin, Dp: DpPin> {
49
}
50
51
#[cfg(feature = "defmt")]
52
-impl<Dm: DmPin, Dp: DpPin> defmt::Format for Peripheral<Dm, Dp> {
+impl<Dm: DmPin + defmt::Format, Dp: DpPin + defmt::Format> defmt::Format for Peripheral<Dm, Dp> {
53
fn format(&self, f: defmt::Formatter) {
54
defmt::write!(
55
f,
0 commit comments