diff options
| author | 1-rafael-1 <[email protected]> | 2025-05-07 21:19:09 +0200 |
|---|---|---|
| committer | 1-rafael-1 <[email protected]> | 2025-05-07 21:19:09 +0200 |
| commit | a254daf4fffe74c65d1846f620dd674fa4e14aac (patch) | |
| tree | 988fb8eb150d92bceca97d0f61b16535edd11215 /examples/rp/src/bin/overclock.rs | |
| parent | 0d03aa0bec01fb0289915861d997bf7f2cf8d232 (diff) | |
Changes after review
Diffstat (limited to 'examples/rp/src/bin/overclock.rs')
| -rw-r--r-- | examples/rp/src/bin/overclock.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/rp/src/bin/overclock.rs b/examples/rp/src/bin/overclock.rs index f9a8c94d0..9c78e0c9d 100644 --- a/examples/rp/src/bin/overclock.rs +++ b/examples/rp/src/bin/overclock.rs | |||
| @@ -18,7 +18,7 @@ const COUNT_TO: i64 = 10_000_000; | |||
| 18 | #[embassy_executor::main] | 18 | #[embassy_executor::main] |
| 19 | async fn main(_spawner: Spawner) -> ! { | 19 | async fn main(_spawner: Spawner) -> ! { |
| 20 | // Set up for clock frequency of 200 MHz, setting all necessary defaults. | 20 | // Set up for clock frequency of 200 MHz, setting all necessary defaults. |
| 21 | let config = Config::new(ClockConfig::crystal_freq(200_000_000)); | 21 | let config = Config::new(ClockConfig::system_freq(200_000_000)); |
| 22 | 22 | ||
| 23 | // Show the voltage scale for verification | 23 | // Show the voltage scale for verification |
| 24 | info!("System core voltage: {}", Debug2Format(&config.clocks.core_voltage)); | 24 | info!("System core voltage: {}", Debug2Format(&config.clocks.core_voltage)); |
