aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--examples/stm32l4/src/bin/rtc.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/stm32l4/src/bin/rtc.rs b/examples/stm32l4/src/bin/rtc.rs
index d72d5ddb6..fe2aabb44 100644
--- a/examples/stm32l4/src/bin/rtc.rs
+++ b/examples/stm32l4/src/bin/rtc.rs
@@ -35,7 +35,7 @@ async fn main(_spawner: Spawner) {
35 35
36 let mut rtc = Rtc::new( 36 let mut rtc = Rtc::new(
37 p.RTC, 37 p.RTC,
38 RtcConfig::default().clock_config(embassy_stm32::rtc::RtcClockSource::LSE), 38 RtcConfig::default().clock_source(embassy_stm32::rtc::RtcClockSource::LSE),
39 ); 39 );
40 info!("Got RTC! {:?}", now.timestamp()); 40 info!("Got RTC! {:?}", now.timestamp());
41 41