Update example code

This commit is contained in:
Urhengulas
2021-02-22 22:24:38 +01:00
parent 1d0750653f
commit 5f8bc597c0
4 changed files with 5 additions and 11 deletions
+1 -1
View File
@@ -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()
}