diff --git a/embassy-usb/src/control.rs b/embassy-usb/src/control.rs index a613f114..9300d8c4 100644 --- a/embassy-usb/src/control.rs +++ b/embassy-usb/src/control.rs @@ -271,9 +271,9 @@ impl ControlPipe { let res = &buf[0..total]; #[cfg(feature = "defmt")] - trace!(" control out data: {:02x}", buf); + trace!(" control out data: {:02x}", res); #[cfg(not(feature = "defmt"))] - trace!(" control out data: {:02x?}", buf); + trace!(" control out data: {:02x?}", res); Ok((res, StatusStage {})) }