remove Debug2Fmt from examples

This commit is contained in:
1-rafael-1 2025-05-12 21:43:17 +02:00
parent be1b679d48
commit abafbed0d5
3 changed files with 3 additions and 3 deletions

View File

@ -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);

View File

@ -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);

View File

@ -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);