If you call rtc_get_datetime immediately after rtc_set_datetime you get junk back. According to the datasheet "Writing to the RTC will take 2 clk_rtc clock periods to arrive". So add a delay after calling rtc_set_datetime in aon_timer_set_time_calendar. Fixes #2148 |
||
|---|---|---|
| .. | ||
| BUILD.bazel | ||
| CMakeLists.txt | ||
| pico_time_test.c | ||