diff options
Diffstat (limited to 'tests/rp/src/bin/overclock.rs')
| -rw-r--r-- | tests/rp/src/bin/overclock.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/rp/src/bin/overclock.rs b/tests/rp/src/bin/overclock.rs index a568d7fed..167a26eb2 100644 --- a/tests/rp/src/bin/overclock.rs +++ b/tests/rp/src/bin/overclock.rs | |||
| @@ -20,7 +20,7 @@ async fn main(_spawner: Spawner) { | |||
| 20 | let mut config = Config::default(); | 20 | let mut config = Config::default(); |
| 21 | 21 | ||
| 22 | // Initialize with 200MHz clock configuration | 22 | // Initialize with 200MHz clock configuration |
| 23 | config.clocks = ClockConfig::system_freq(200_000_000); | 23 | config.clocks = ClockConfig::system_freq(200_000_000).unwrap(); |
| 24 | 24 | ||
| 25 | // if we are rp235x, we need to manually set the core voltage. rp2040 should do this automatically | 25 | // if we are rp235x, we need to manually set the core voltage. rp2040 should do this automatically |
| 26 | #[cfg(feature = "rp235xb")] | 26 | #[cfg(feature = "rp235xb")] |
