From b8836a60bf237c8da6f52c1626d8d6658d795b0d Mon Sep 17 00:00:00 2001 From: ayoung Date: Fri, 14 Oct 2022 04:08:02 -0700 Subject: [PATCH] Fix comments --- cores/arduino/startup.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/cores/arduino/startup.c b/cores/arduino/startup.c index 3f990abb1..a44d77f26 100644 --- a/cores/arduino/startup.c +++ b/cores/arduino/startup.c @@ -27,7 +27,7 @@ * - OSC8M clock source is enabled with a divider by 8 (1MHz). * - Generic Clock Generator 0 (GCLKMAIN) is using OSC8M as source. * We need to: - * 1) Enable XOSC32K clock (External on-board 32.768Hz oscillator), will be used as DFLL48M reference. + * 1) Enable XOSC32K clock (External on-board 32.768KHz oscillator), will be used as DFLL48M reference. * 2) Put XOSC32K as source of Generic Clock Generator 1 * 3) Put Generic Clock Generator 1 as source for Generic Clock Multiplexer 0 (DFLL48M reference) * 4) Enable DFLL48M clock @@ -56,7 +56,7 @@ void SystemInit( void ) #if defined(CRYSTALLESS) /* ---------------------------------------------------------------------------------------------- - * 1) Enable OSC32K clock (Internal 32.768Hz oscillator) + * 1) Enable OSC32K clock (Internal 32.768KHz oscillator) */ uint32_t calib = (*((uint32_t *) FUSES_OSC32K_CAL_ADDR) & FUSES_OSC32K_CAL_Msk) >> FUSES_OSC32K_CAL_Pos; @@ -71,7 +71,7 @@ void SystemInit( void ) #else // has crystal /* ---------------------------------------------------------------------------------------------- - * 1) Enable XOSC32K clock (External on-board 32.768Hz oscillator) + * 1) Enable XOSC32K clock (External on-board 32.768KHz oscillator) */ SYSCTRL->XOSC32K.reg = SYSCTRL_XOSC32K_STARTUP( 0x6u ) | /* cf table 15.10 of product datasheet in chapter 15.8.6 */ SYSCTRL_XOSC32K_XTALEN | SYSCTRL_XOSC32K_EN32K ;