diff options
| author | Tyler <[email protected]> | 2023-09-29 20:02:24 -0600 |
|---|---|---|
| committer | GitHub <[email protected]> | 2023-09-29 20:02:24 -0600 |
| commit | 2f9b59c5cf21f1e2761a9ccefdfd86f0edea829c (patch) | |
| tree | 8964744b4fb753cf98f6f413464106c4d2a72976 /examples/stm32l4/src/bin/rtc.rs | |
| parent | ce91fb2bfc846570ef543a09396c428d70675245 (diff) | |
| parent | 95b3d9eb3b3657de3d7bc9c04f8fb83eae901640 (diff) | |
Merge branch 'main' into issue-1974-add-sai-driver
Diffstat (limited to 'examples/stm32l4/src/bin/rtc.rs')
| -rw-r--r-- | examples/stm32l4/src/bin/rtc.rs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/examples/stm32l4/src/bin/rtc.rs b/examples/stm32l4/src/bin/rtc.rs index 294ea456c..eb1eed012 100644 --- a/examples/stm32l4/src/bin/rtc.rs +++ b/examples/stm32l4/src/bin/rtc.rs | |||
| @@ -23,7 +23,8 @@ async fn main(_spawner: Spawner) { | |||
| 23 | PLLMul::Mul20, | 23 | PLLMul::Mul20, |
| 24 | None, | 24 | None, |
| 25 | ); | 25 | ); |
| 26 | config.rcc.rtc_mux = rcc::RtcClockSource::LSE32; | 26 | config.rcc.lse = Some(Hertz(32_768)); |
| 27 | config.rcc.rtc_mux = rcc::RtcClockSource::LSE; | ||
| 27 | embassy_stm32::init(config) | 28 | embassy_stm32::init(config) |
| 28 | }; | 29 | }; |
| 29 | info!("Hello World!"); | 30 | info!("Hello World!"); |
