diff options
author | James Young <18669334+noroadsleft@users.noreply.github.com> | 2021-05-29 13:53:10 -0700 |
---|---|---|
committer | James Young <18669334+noroadsleft@users.noreply.github.com> | 2021-05-29 13:53:10 -0700 |
commit | 7d1194de01ea94f065bd5176607b4d66279ef51b (patch) | |
tree | 337ab0498a929285a234518fee34a4d9dcf51656 /tmk_core/common/chibios | |
parent | e628051505cca7674c37b417ba91af1c69dbbd86 (diff) | |
download | qmk_firmware-7d1194de01ea94f065bd5176607b4d66279ef51b.tar.gz qmk_firmware-7d1194de01ea94f065bd5176607b4d66279ef51b.zip |
run: qmk cformat --core-only
Diffstat (limited to 'tmk_core/common/chibios')
-rw-r--r-- | tmk_core/common/chibios/sleep_led.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tmk_core/common/chibios/sleep_led.c b/tmk_core/common/chibios/sleep_led.c index 477056a454..1c65016a42 100644 --- a/tmk_core/common/chibios/sleep_led.c +++ b/tmk_core/common/chibios/sleep_led.c @@ -65,7 +65,7 @@ void sleep_led_timer_callback(void) { /* LPTMR clock options */ # define LPTMR_CLOCK_MCGIRCLK 0 /* 4MHz clock */ -# define LPTMR_CLOCK_LPO 1 /* 1kHz clock */ +# define LPTMR_CLOCK_LPO 1 /* 1kHz clock */ # define LPTMR_CLOCK_ERCLK32K 2 /* external 32kHz crystal */ # define LPTMR_CLOCK_OSCERCLK 3 /* output from OSC */ @@ -121,7 +121,7 @@ void sleep_led_init(void) { MCG->C2 |= MCG_C2_IRCS; // fast (4MHz) internal ref clock # if defined(KL27) // divide the 8MHz IRC by 2, to have the same MCGIRCLK speed as others MCG->MC |= MCG_MC_LIRC_DIV2_DIV2; -# endif /* KL27 */ +# endif /* KL27 */ MCG->C1 |= MCG_C1_IRCLKEN; // enable internal ref clock // to work in stop mode, also MCG_C1_IREFSTEN // Divide 4MHz by 2^N (N=6) => 62500 irqs/sec => |