mirror of
https://github.com/ferrous-systems/embedded-trainings-2020.git
synced 2024-10-31 22:28:49 +00:00
usb-3-solution.rs, usb-2.rs: rm trailing commata
This commit is contained in:
parent
88d713d65f
commit
c48dd306f4
2 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
// need to catch it here. We'll properly handle this request later
|
||||
// but for now it's OK to do nothing.
|
||||
},
|
||||
}
|
||||
_ => 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
|
||||
// need to catch it here. We'll properly handle this request later
|
||||
// but for now it's OK to do nothing.
|
||||
},
|
||||
}
|
||||
_ => {
|
||||
log::error!("unknown request (goal achieved if GET_DESCRIPTOR Device was handled)");
|
||||
dk::exit()
|
||||
|
|
Loading…
Reference in a new issue