usb-3-solution.rs, usb-2.rs: rm trailing commata

This commit is contained in:
Lotte Steenbrink 2020-07-03 16:28:16 +02:00
parent 88d713d65f
commit c48dd306f4
2 changed files with 2 additions and 2 deletions

View file

@ -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
}
}

View file

@ -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()