RP - update RTCv1 clock source function

git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@14457 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
This commit is contained in:
cinsights 2021-06-02 04:15:51 +00:00
parent 1c0a9da005
commit 59968c9465
1 changed files with 1 additions and 1 deletions

View File

@ -119,7 +119,7 @@ void rtc_lld_init(void) {
RTCD1.rtc = RTC;
/* Get clock parameters. */
uint32_t clock = hal_lld_get_clock(clk_rtc);
uint32_t clock = hal_lld_get_clock_point(clk_rtc);
osalDbgAssert((clock > 0U) || (clock - 1 <= RTC_CLKDIV_M1), "bad clock");
/* Take RTC out of reset. */