diff options
| author | James Munns <[email protected]> | 2024-05-14 07:51:34 +0000 |
|---|---|---|
| committer | GitHub <[email protected]> | 2024-05-14 07:51:34 +0000 |
| commit | ea70b440cd1035f28c3f332a2f72d7fa42ac995d (patch) | |
| tree | 90323061ff9f5015118d42ea1ce29bf40b751a12 | |
| parent | e1435195cb90f6298b236255b5248db2706aead7 (diff) | |
| parent | c3db435011a99825d355f19ca97086b16ad262c1 (diff) | |
Merge pull request #2940 from qiuweishengx/main
Fix: typo
| -rw-r--r-- | embassy-rp/src/clocks.rs | 2 |
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. |
