aboutsummaryrefslogtreecommitdiff
path: root/examples/stm32g0
diff options
context:
space:
mode:
authornikvoid <[email protected]>2025-02-13 15:15:47 +0200
committernikvoid <[email protected]>2025-02-13 15:15:47 +0200
commit610804f138708e616ed6a7d8324982b009a832d6 (patch)
tree26a21d60bd4d22cb75aedc77bd887d0a9796ca8c /examples/stm32g0
parent27fb1f4dd004bd32c718b932694cb498fe9bff91 (diff)
stm32: read microsecond from RTC
Diffstat (limited to 'examples/stm32g0')
-rw-r--r--examples/stm32g0/src/bin/rtc.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/stm32g0/src/bin/rtc.rs b/examples/stm32g0/src/bin/rtc.rs
index c02c1ecd7..50fb6398e 100644
--- a/examples/stm32g0/src/bin/rtc.rs
+++ b/examples/stm32g0/src/bin/rtc.rs
@@ -15,7 +15,7 @@ async fn main(_spawner: Spawner) {
15 15
16 info!("Hello World!"); 16 info!("Hello World!");
17 17
18 let now = DateTime::from(2023, 6, 14, DayOfWeek::Friday, 15, 59, 10); 18 let now = DateTime::from(2023, 6, 14, DayOfWeek::Friday, 15, 59, 10, 0);
19 19
20 let mut rtc = Rtc::new(p.RTC, RtcConfig::default()); 20 let mut rtc = Rtc::new(p.RTC, RtcConfig::default());
21 21