remove Debug2Fmt from examples
This commit is contained in:
parent
be1b679d48
commit
abafbed0d5
@ -28,7 +28,7 @@ async fn main(_spawner: Spawner) -> ! {
|
|||||||
info!("System clock frequency: {} MHz", sys_freq / 1_000_000);
|
info!("System clock frequency: {} MHz", sys_freq / 1_000_000);
|
||||||
// Show core voltage for verification
|
// Show core voltage for verification
|
||||||
let core_voltage = core_voltage().unwrap();
|
let core_voltage = core_voltage().unwrap();
|
||||||
info!("Core voltage: {}", Debug2Format(&core_voltage));
|
info!("Core voltage: {}", core_voltage);
|
||||||
|
|
||||||
// LED to indicate the system is running
|
// LED to indicate the system is running
|
||||||
let mut led = Output::new(p.PIN_25, Level::Low);
|
let mut led = Output::new(p.PIN_25, Level::Low);
|
||||||
|
|||||||
@ -45,7 +45,7 @@ async fn main(_spawner: Spawner) -> ! {
|
|||||||
info!("System clock frequency: {} MHz", sys_freq / 1_000_000);
|
info!("System clock frequency: {} MHz", sys_freq / 1_000_000);
|
||||||
// Show core voltage for verification
|
// Show core voltage for verification
|
||||||
let core_voltage = core_voltage().unwrap();
|
let core_voltage = core_voltage().unwrap();
|
||||||
info!("Core voltage: {}", Debug2Format(&core_voltage));
|
info!("Core voltage: {}", core_voltage);
|
||||||
|
|
||||||
// LED to indicate the system is running
|
// LED to indicate the system is running
|
||||||
let mut led = Output::new(p.PIN_25, Level::Low);
|
let mut led = Output::new(p.PIN_25, Level::Low);
|
||||||
|
|||||||
@ -38,7 +38,7 @@ async fn main(_spawner: Spawner) -> ! {
|
|||||||
info!("System clock frequency: {} MHz", sys_freq / 1_000_000);
|
info!("System clock frequency: {} MHz", sys_freq / 1_000_000);
|
||||||
// Show core voltage for verification
|
// Show core voltage for verification
|
||||||
let core_voltage = core_voltage().unwrap();
|
let core_voltage = core_voltage().unwrap();
|
||||||
info!("Core voltage: {}", Debug2Format(&core_voltage));
|
info!("Core voltage: {}", core_voltage);
|
||||||
|
|
||||||
// LED to indicate the system is running
|
// LED to indicate the system is running
|
||||||
let mut led = Output::new(p.PIN_25, Level::Low);
|
let mut led = Output::new(p.PIN_25, Level::Low);
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user