mirror of
https://github.com/ferrous-systems/embedded-trainings-2020.git
synced 2024-05-03 17:19:12 +00:00
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:
parent
9296ff5b09
commit
461a9b4d8e
|
@ -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)]
|
||||
|
|
Loading…
Reference in a new issue