mirror of
https://github.com/ferrous-systems/embedded-trainings-2020.git
synced 2025-01-25 07:18:08 +00:00
fix typo
This commit is contained in:
parent
27dd89493c
commit
739df4dac9
5 changed files with 5 additions and 5 deletions
|
@ -89,7 +89,7 @@ fn ep0setup(usbd: &USBD, ep0in: &mut Ep0In, state: &mut State) -> Result<(), ()>
|
|||
let request = Request::parse(bmrequesttype, brequest, wvalue, windex, wlength)
|
||||
.expect("Error parsing request");
|
||||
defmt::info!("EP0: {:?}", defmt::Debug2Format(&request));
|
||||
// ^^^^^^^^^^^^^^^^^^^ this adapter iscurrently needed to log
|
||||
// ^^^^^^^^^^^^^^^^^^^ this adapter is currently needed to log
|
||||
// `StandardRequest` with `defmt`
|
||||
|
||||
match request {
|
||||
|
|
|
@ -90,7 +90,7 @@ fn ep0setup(usbd: &USBD, ep0in: &mut Ep0In, _state: &mut State) -> Result<(), ()
|
|||
let request = Request::parse(bmrequesttype, brequest, wvalue, windex, wlength)
|
||||
.expect("Error parsing request");
|
||||
defmt::info!("EP0: {:?}", defmt::Debug2Format(&request));
|
||||
// ^^^^^^^^^^^^^^^^^^^ this adapter iscurrently needed to log
|
||||
// ^^^^^^^^^^^^^^^^^^^ this adapter is currently needed to log
|
||||
// `StandardRequest` with `defmt`
|
||||
|
||||
match request {
|
||||
|
|
|
@ -89,7 +89,7 @@ fn ep0setup(usbd: &USBD, ep0in: &mut Ep0In, state: &mut State) -> Result<(), ()>
|
|||
let request = Request::parse(bmrequesttype, brequest, wvalue, windex, wlength)
|
||||
.expect("Error parsing request");
|
||||
defmt::info!("EP0: {:?}", defmt::Debug2Format(&request));
|
||||
// ^^^^^^^^^^^^^^^^^^^ this adapter iscurrently needed to log
|
||||
// ^^^^^^^^^^^^^^^^^^^ this adapter is currently needed to log
|
||||
// `StandardRequest` with `defmt`
|
||||
|
||||
match request {
|
||||
|
|
|
@ -47,7 +47,7 @@ fn main() -> ! {
|
|||
}
|
||||
|
||||
defmt::info!("{:?}", defmt::Debug2Format(&dict));
|
||||
// ^^^^^^^^^^^^^^^^^^^ this adapter iscurrently needed to log `heapless`
|
||||
// ^^^^^^^^^^^^^^^^^^^ this adapter is currently needed to log `heapless`
|
||||
// data structures (like `LinearMap` here) with `defmt`
|
||||
|
||||
dk::exit()
|
||||
|
|
|
@ -23,7 +23,7 @@ fn main() -> ! {
|
|||
|
||||
// look into the contents so far
|
||||
defmt::info!("{:?}", defmt::Debug2Format(&buffer));
|
||||
// ^^^^^^^^^^^^^^^^^^^ this adapter iscurrently needed to log `heapless`
|
||||
// ^^^^^^^^^^^^^^^^^^^ this adapter is currently needed to log `heapless`
|
||||
// data structures (like `Vec` here) with `defmt`
|
||||
|
||||
// or more readable
|
||||
|
|
Loading…
Reference in a new issue