spelling: peripheral

Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
This commit is contained in:
Josh Soref 2025-01-28 15:27:49 -05:00
parent dd02b29b2a
commit 7d8b2dc7aa

View file

@ -46,7 +46,7 @@ void rtc_init(void) {
clocksource_lse_configure(); clocksource_lse_configure();
// Only initialize the RTC periphieral if it's not already enabled. // Only initialize the RTC peripheral if it's not already enabled.
if (!(RCC->BDCR & RCC_BDCR_RTCEN)) { if (!(RCC->BDCR & RCC_BDCR_RTCEN)) {
RCC_RTCCLKConfig(RCC_RTCCLKSource_LSE); RCC_RTCCLKConfig(RCC_RTCCLKSource_LSE);
RCC_RTCCLKCmd(ENABLE); RCC_RTCCLKCmd(ENABLE);