mirror of
https://github.com/embassy-rs/embassy.git
synced 2024-11-22 06:42:32 +00:00
usb: fix wrong logging of CONTROL OUT data.
This commit is contained in:
parent
3a90a8eb4a
commit
94090e068e
@ -271,9 +271,9 @@ impl<C: driver::ControlPipe> ControlPipe<C> {
|
||||
|
||||
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 {}))
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user