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