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> {
218218 Ok ( req) => req,
219219 Err ( _err) => {
220220 // TODO: Propagate error out of `poll()`
221- usb_debug ! ( "Failed to handle EP0: {}" , _err) ;
221+ usb_debug ! ( "Failed to handle EP0: {:? }" , _err) ;
222222 None
223223 }
224224 }
@@ -230,7 +230,7 @@ impl<B: UsbBus> UsbDevice<'_, B> {
230230 Some ( req) if req. direction == UsbDirection :: In => {
231231 if let Err ( _err) = self . control_in ( classes, req) {
232232 // TODO: Propagate error out of `poll()`
233- usb_debug ! ( "Failed to handle control request: {}" , _err) ;
233+ usb_debug ! ( "Failed to handle control request: {:? }" , _err) ;
234234 }
235235 }
236236 Some ( req) if req. direction == UsbDirection :: Out => {
@@ -248,7 +248,7 @@ impl<B: UsbBus> UsbDevice<'_, B> {
248248 Err ( _err) => {
249249 // TODO: Propagate this out of `poll()`
250250 usb_debug ! (
251- "Failed to process control-input complete: {}" ,
251+ "Failed to process control-input complete: {:? }" ,
252252 _err
253253 ) ;
254254 false
You can’t perform that action at this time.
0 commit comments