Merge pull request #3880 from nikvoid/stm32-rtc-subsecond

STM32: RTC subsecond support
This commit is contained in:
Dario Nieuwenhuis
2025-02-16 23:22:50 +00:00
committed by GitHub
3 changed files with 33 additions and 4 deletions

View File

@@ -15,7 +15,7 @@ async fn main(_spawner: Spawner) {
info!("Hello World!");
let now = DateTime::from(2023, 6, 14, DayOfWeek::Friday, 15, 59, 10);
let now = DateTime::from(2023, 6, 14, DayOfWeek::Friday, 15, 59, 10, 0);
let mut rtc = Rtc::new(p.RTC, RtcConfig::default());