diff --git a/advanced/firmware/src/bin/usb-2.rs b/advanced/firmware/src/bin/usb-2.rs index 8c5f95a..abcf6df 100644 --- a/advanced/firmware/src/bin/usb-2.rs +++ b/advanced/firmware/src/bin/usb-2.rs @@ -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 } } diff --git a/advanced/firmware/src/bin/usb-3-solution.rs b/advanced/firmware/src/bin/usb-3-solution.rs index 2afd70f..6739de4 100644 --- a/advanced/firmware/src/bin/usb-3-solution.rs +++ b/advanced/firmware/src/bin/usb-3-solution.rs @@ -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()