aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorQWS <[email protected]>2024-05-14 15:48:00 +0800
committerQWS <[email protected]>2024-05-14 15:48:00 +0800
commitc3db435011a99825d355f19ca97086b16ad262c1 (patch)
tree90323061ff9f5015118d42ea1ce29bf40b751a12
parente1435195cb90f6298b236255b5248db2706aead7 (diff)
Fix: typo
-rw-r--r--embassy-rp/src/clocks.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/embassy-rp/src/clocks.rs b/embassy-rp/src/clocks.rs
index fac2532ea..d0c6c19bd 100644
--- a/embassy-rp/src/clocks.rs
+++ b/embassy-rp/src/clocks.rs
@@ -1023,7 +1023,7 @@ pub fn dormant_sleep() {
1023 let _stop_adc = set(pac::CLOCKS.clk_adc_ctrl(), |w| w.set_enable(false)); 1023 let _stop_adc = set(pac::CLOCKS.clk_adc_ctrl(), |w| w.set_enable(false));
1024 let _stop_usb = set(pac::CLOCKS.clk_usb_ctrl(), |w| w.set_enable(false)); 1024 let _stop_usb = set(pac::CLOCKS.clk_usb_ctrl(), |w| w.set_enable(false));
1025 let _stop_peri = set(pac::CLOCKS.clk_peri_ctrl(), |w| w.set_enable(false)); 1025 let _stop_peri = set(pac::CLOCKS.clk_peri_ctrl(), |w| w.set_enable(false));
1026 // set up rosc. we could ask the use to tell us which clock source to wake from like 1026 // set up rosc. we could ask the user to tell us which clock source to wake from like
1027 // the C SDK does, but that seems rather unfriendly. we *may* disturb rtc by changing 1027 // the C SDK does, but that seems rather unfriendly. we *may* disturb rtc by changing
1028 // rosc configuration if it's currently the rtc clock source, so we'll configure rosc 1028 // rosc configuration if it's currently the rtc clock source, so we'll configure rosc
1029 // to the slowest frequency to minimize that impact. 1029 // to the slowest frequency to minimize that impact.