File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -218,7 +218,7 @@ impl<B: UsbBus> UsbDevice<'_, B> {
218
218
Ok ( req) => req,
219
219
Err ( _err) => {
220
220
// TODO: Propagate error out of `poll()`
221
- usb_debug ! ( "Failed to handle EP0: {}" , _err) ;
221
+ usb_debug ! ( "Failed to handle EP0: {:? }" , _err) ;
222
222
None
223
223
}
224
224
}
@@ -230,7 +230,7 @@ impl<B: UsbBus> UsbDevice<'_, B> {
230
230
Some ( req) if req. direction == UsbDirection :: In => {
231
231
if let Err ( _err) = self . control_in ( classes, req) {
232
232
// TODO: Propagate error out of `poll()`
233
- usb_debug ! ( "Failed to handle control request: {}" , _err) ;
233
+ usb_debug ! ( "Failed to handle control request: {:? }" , _err) ;
234
234
}
235
235
}
236
236
Some ( req) if req. direction == UsbDirection :: Out => {
@@ -248,7 +248,7 @@ impl<B: UsbBus> UsbDevice<'_, B> {
248
248
Err ( _err) => {
249
249
// TODO: Propagate this out of `poll()`
250
250
usb_debug ! (
251
- "Failed to process control-input complete: {}" ,
251
+ "Failed to process control-input complete: {:? }" ,
252
252
_err
253
253
) ;
254
254
false
You can’t perform that action at this time.
0 commit comments