mirror of
https://github.com/embassy-rs/embassy.git
synced 2024-11-25 16:23:10 +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];
|
let res = &buf[0..total];
|
||||||
#[cfg(feature = "defmt")]
|
#[cfg(feature = "defmt")]
|
||||||
trace!(" control out data: {:02x}", buf);
|
trace!(" control out data: {:02x}", res);
|
||||||
#[cfg(not(feature = "defmt"))]
|
#[cfg(not(feature = "defmt"))]
|
||||||
trace!(" control out data: {:02x?}", buf);
|
trace!(" control out data: {:02x?}", res);
|
||||||
|
|
||||||
Ok((res, StatusStage {}))
|
Ok((res, StatusStage {}))
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user