Update example code
This commit is contained in:
+1
-1
@@ -7,7 +7,7 @@ use {{crate_name}} as _; // global logger + panicking-behavior + memory layout
|
||||
fn main() -> ! {
|
||||
// value of the FREQUENCY register (nRF52840 device; RADIO peripheral)
|
||||
let frequency: u32 = 276;
|
||||
defmt::debug!("FREQUENCY: {0:0..7}, MAP: {0:8..9}", frequency);
|
||||
defmt::debug!("FREQUENCY: {0=0..7}, MAP: {0=8..9}", frequency);
|
||||
|
||||
{{crate_name}}::exit()
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user