mirror of
https://github.com/google/pebble.git
synced 2025-05-01 07:41:41 -04:00
spelling: peripheral
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
This commit is contained in:
parent
dd02b29b2a
commit
7d8b2dc7aa
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||||
|
|
Loading…
Add table
Reference in a new issue