diff options
| author | Alex Martens <[email protected]> | 2022-09-24 09:42:06 -0700 |
|---|---|---|
| committer | Alex Martens <[email protected]> | 2022-09-24 09:42:06 -0700 |
| commit | a45fb2d7183738bdcc020a9b1916fdfab469ec0c (patch) | |
| tree | 76f94f38231833dfd159cf5101b9907fdfedd8f2 /embassy-usb | |
| parent | dacbc9acd5969d3ef0dda8825c960e909008ce83 (diff) | |
usb: fix compile errors with the log feature
Diffstat (limited to 'embassy-usb')
| -rw-r--r-- | embassy-usb/src/lib.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/embassy-usb/src/lib.rs b/embassy-usb/src/lib.rs index ca7dde627..6f58c953c 100644 --- a/embassy-usb/src/lib.rs +++ b/embassy-usb/src/lib.rs | |||
| @@ -247,7 +247,7 @@ impl<'d, D: Driver<'d>> UsbDevice<'d, D> { | |||
| 247 | async fn handle_control(&mut self, req: [u8; 8]) { | 247 | async fn handle_control(&mut self, req: [u8; 8]) { |
| 248 | let req = Request::parse(&req); | 248 | let req = Request::parse(&req); |
| 249 | 249 | ||
| 250 | trace!("control request: {:02x}", req); | 250 | trace!("control request: {:?}", req); |
| 251 | 251 | ||
| 252 | match req.direction { | 252 | match req.direction { |
| 253 | UsbDirection::In => self.handle_control_in(req).await, | 253 | UsbDirection::In => self.handle_control_in(req).await, |
