mirror of
https://github.com/ferrous-systems/embedded-trainings-2020.git
synced 2025-01-09 15:55:37 +00:00
usb-4: simplify "how to switch parser" instructions
This commit is contained in:
parent
461a9b4d8e
commit
d202ff31d9
1 changed files with 4 additions and 3 deletions
|
@ -7,9 +7,10 @@ use dk::{
|
|||
};
|
||||
use panic_log as _; // panic handler
|
||||
|
||||
// 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};
|
||||
use usb2::State;
|
||||
// HEADS UP to use *your* USB packet parser uncomment line 12 and remove line 13
|
||||
// use usb::{Request, Descriptor};
|
||||
use usb2::{GetDescriptor as Descriptor, StandardRequest as Request};
|
||||
|
||||
#[rtic::app(device = dk)]
|
||||
const APP: () = {
|
||||
|
|
Loading…
Reference in a new issue