mirror of
https://github.com/ferrous-systems/embedded-trainings-2020.git
synced 2024-05-31 22:58:08 +00:00
usb-3-solution.rs, usb-2.rs: rm trailing commata
This commit is contained in:
parent
88d713d65f
commit
c48dd306f4
|
@ -78,7 +78,7 @@ fn on_event(_usbd: &USBD, event: Event) {
|
||||||
// On Mac OS you'll get this request before the GET_DESCRIPTOR request so we
|
// On Mac OS you'll get this request before the GET_DESCRIPTOR request so we
|
||||||
// need to catch it here. We'll properly handle this request later
|
// need to catch it here. We'll properly handle this request later
|
||||||
// but for now it's OK to do nothing.
|
// but for now it's OK to do nothing.
|
||||||
},
|
}
|
||||||
_ => unreachable!(), // we don't handle any other Requests
|
_ => unreachable!(), // we don't handle any other Requests
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -94,7 +94,7 @@ fn on_event(usbd: &USBD, ep0in: &mut Ep0In, event: Event) {
|
||||||
// On Mac OS you'll get this request before the GET_DESCRIPTOR request so we
|
// On Mac OS you'll get this request before the GET_DESCRIPTOR request so we
|
||||||
// need to catch it here. We'll properly handle this request later
|
// need to catch it here. We'll properly handle this request later
|
||||||
// but for now it's OK to do nothing.
|
// but for now it's OK to do nothing.
|
||||||
},
|
}
|
||||||
_ => {
|
_ => {
|
||||||
log::error!("unknown request (goal achieved if GET_DESCRIPTOR Device was handled)");
|
log::error!("unknown request (goal achieved if GET_DESCRIPTOR Device was handled)");
|
||||||
dk::exit()
|
dk::exit()
|
||||||
|
|
Loading…
Reference in a new issue