usb-4: simplify "how to switch parser" instructions

This commit is contained in:
Jorge Aparicio 2021-01-29 13:18:13 +01:00
parent 461a9b4d8e
commit d202ff31d9

View file

@ -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: () = {