usb-4: add note on how to switch to participant's USB parser

the starter code uses the parser from the `usb2` crate because the code won't compile if it uses the
workshop's `usb` in its initial form
This commit is contained in:
Jorge Aparicio 2021-01-29 13:11:08 +01:00
parent 9296ff5b09
commit 461a9b4d8e

View file

@ -7,7 +7,8 @@ use dk::{
};
use panic_log as _; // panic handler
// use one of these
// HEADS UP to use *your* USB packet parser uncomment this line and remove the `usb2::Request`
// use usb::Request;
use usb2::{GetDescriptor as Descriptor, StandardRequest as Request, State};
#[rtic::app(device = dk)]