aboutsummaryrefslogtreecommitdiff
path: root/tests/rp/src/bin/overclock.rs
diff options
context:
space:
mode:
author1-rafael-1 <[email protected]>2025-05-12 21:33:47 +0200
committer1-rafael-1 <[email protected]>2025-05-12 21:33:47 +0200
commit79e452922a6b467f2e8547a6b28698ed5f409705 (patch)
tree3c9344145e0eb8cfdd35549af940ef04cf25b3c3 /tests/rp/src/bin/overclock.rs
parent133500167ca53cfbc5e9268356753bc0e3f8c209 (diff)
Add ClockError enum and update system_freq to return Result for error handling
Diffstat (limited to 'tests/rp/src/bin/overclock.rs')
-rw-r--r--tests/rp/src/bin/overclock.rs2
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")]