Changes after review

This commit is contained in:
1-rafael-1
2025-05-07 21:19:09 +02:00
parent 0d03aa0bec
commit a254daf4ff
3 changed files with 37 additions and 18 deletions

View File

@@ -18,7 +18,7 @@ const COUNT_TO: i64 = 10_000_000;
#[embassy_executor::main]
async fn main(_spawner: Spawner) -> ! {
// Set up for clock frequency of 200 MHz, setting all necessary defaults.
let config = Config::new(ClockConfig::crystal_freq(200_000_000));
let config = Config::new(ClockConfig::system_freq(200_000_000));
// Show the voltage scale for verification
info!("System core voltage: {}", Debug2Format(&config.clocks.core_voltage));