mirror of
https://github.com/ferrous-systems/embedded-trainings-2020.git
synced 2025-01-26 07:48:06 +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)
|
let request = Request::parse(bmrequesttype, brequest, wvalue, windex, wlength)
|
||||||
.expect("Error parsing request");
|
.expect("Error parsing request");
|
||||||
defmt::info!("EP0: {:?}", defmt::Debug2Format(&request));
|
defmt::info!("EP0: {:?}", defmt::Debug2Format(&request));
|
||||||
// ^^^^^^^^^^^^^^^^^^^ this adapter iscurrently needed to log
|
// ^^^^^^^^^^^^^^^^^^^ this adapter is currently needed to log
|
||||||
// `StandardRequest` with `defmt`
|
// `StandardRequest` with `defmt`
|
||||||
|
|
||||||
match request {
|
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)
|
let request = Request::parse(bmrequesttype, brequest, wvalue, windex, wlength)
|
||||||
.expect("Error parsing request");
|
.expect("Error parsing request");
|
||||||
defmt::info!("EP0: {:?}", defmt::Debug2Format(&request));
|
defmt::info!("EP0: {:?}", defmt::Debug2Format(&request));
|
||||||
// ^^^^^^^^^^^^^^^^^^^ this adapter iscurrently needed to log
|
// ^^^^^^^^^^^^^^^^^^^ this adapter is currently needed to log
|
||||||
// `StandardRequest` with `defmt`
|
// `StandardRequest` with `defmt`
|
||||||
|
|
||||||
match request {
|
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)
|
let request = Request::parse(bmrequesttype, brequest, wvalue, windex, wlength)
|
||||||
.expect("Error parsing request");
|
.expect("Error parsing request");
|
||||||
defmt::info!("EP0: {:?}", defmt::Debug2Format(&request));
|
defmt::info!("EP0: {:?}", defmt::Debug2Format(&request));
|
||||||
// ^^^^^^^^^^^^^^^^^^^ this adapter iscurrently needed to log
|
// ^^^^^^^^^^^^^^^^^^^ this adapter is currently needed to log
|
||||||
// `StandardRequest` with `defmt`
|
// `StandardRequest` with `defmt`
|
||||||
|
|
||||||
match request {
|
match request {
|
||||||
|
|
|
@ -47,7 +47,7 @@ fn main() -> ! {
|
||||||
}
|
}
|
||||||
|
|
||||||
defmt::info!("{:?}", defmt::Debug2Format(&dict));
|
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`
|
// data structures (like `LinearMap` here) with `defmt`
|
||||||
|
|
||||||
dk::exit()
|
dk::exit()
|
||||||
|
|
|
@ -23,7 +23,7 @@ fn main() -> ! {
|
||||||
|
|
||||||
// look into the contents so far
|
// look into the contents so far
|
||||||
defmt::info!("{:?}", defmt::Debug2Format(&buffer));
|
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`
|
// data structures (like `Vec` here) with `defmt`
|
||||||
|
|
||||||
// or more readable
|
// or more readable
|
||||||
|
|
Loading…
Reference in a new issue