Skip to content

Commit 5fe6f6a

Browse files
committed
Fixing log order
1 parent 8318f0c commit 5fe6f6a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/control_pipe.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -139,8 +139,8 @@ impl<B: UsbBus> ControlPipe<'_, B> {
139139
Err(_err) => {
140140
// Failed to read or buffer overflow (overflow is only possible if the host
141141
// sends more data than it indicated in the SETUP request)
142-
self.set_error();
143142
usb_debug!("Failed EP0 read: {:?}", _err);
143+
self.set_error();
144144
return Ok(None);
145145
}
146146
};

0 commit comments

Comments
 (0)