usb: fix compile errors with the log feature

This commit is contained in:
Alex Martens
2022-09-24 09:42:06 -07:00
parent dacbc9acd5
commit a45fb2d718
2 changed files with 4 additions and 4 deletions

View File

@ -247,7 +247,7 @@ impl<'d, D: Driver<'d>> UsbDevice<'d, D> {
async fn handle_control(&mut self, req: [u8; 8]) {
let req = Request::parse(&req);
trace!("control request: {:02x}", req);
trace!("control request: {:?}", req);
match req.direction {
UsbDirection::In => self.handle_control_in(req).await,