mirror of
https://github.com/ferrous-systems/embedded-trainings-2020.git
synced 2024-05-18 00:12:56 +00:00
usb-4: simplify "how to switch parser" instructions
This commit is contained in:
parent
461a9b4d8e
commit
d202ff31d9
|
@ -7,9 +7,10 @@ use dk::{
|
||||||
};
|
};
|
||||||
use panic_log as _; // panic handler
|
use panic_log as _; // panic handler
|
||||||
|
|
||||||
// HEADS UP to use *your* USB packet parser uncomment this line and remove the `usb2::Request`
|
use usb2::State;
|
||||||
// use usb::Request;
|
// HEADS UP to use *your* USB packet parser uncomment line 12 and remove line 13
|
||||||
use usb2::{GetDescriptor as Descriptor, StandardRequest as Request, State};
|
// use usb::{Request, Descriptor};
|
||||||
|
use usb2::{GetDescriptor as Descriptor, StandardRequest as Request};
|
||||||
|
|
||||||
#[rtic::app(device = dk)]
|
#[rtic::app(device = dk)]
|
||||||
const APP: () = {
|
const APP: () = {
|
||||||
|
|
Loading…
Reference in a new issue