aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--embassy-usb/src/control.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/embassy-usb/src/control.rs b/embassy-usb/src/control.rs
index a613f1145..9300d8c4c 100644
--- a/embassy-usb/src/control.rs
+++ b/embassy-usb/src/control.rs
@@ -271,9 +271,9 @@ impl<C: driver::ControlPipe> ControlPipe<C> {
271 271
272 let res = &buf[0..total]; 272 let res = &buf[0..total];
273 #[cfg(feature = "defmt")] 273 #[cfg(feature = "defmt")]
274 trace!(" control out data: {:02x}", buf); 274 trace!(" control out data: {:02x}", res);
275 #[cfg(not(feature = "defmt"))] 275 #[cfg(not(feature = "defmt"))]
276 trace!(" control out data: {:02x?}", buf); 276 trace!(" control out data: {:02x?}", res);
277 277
278 Ok((res, StatusStage {})) 278 Ok((res, StatusStage {}))
279 } 279 }