summaryrefslogtreecommitdiff
path: root/nuttx/arch/arm/src/kl/kl_clockconfig.c
diff options
context:
space:
mode:
Diffstat (limited to 'nuttx/arch/arm/src/kl/kl_clockconfig.c')
-rw-r--r--nuttx/arch/arm/src/kl/kl_clockconfig.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/nuttx/arch/arm/src/kl/kl_clockconfig.c b/nuttx/arch/arm/src/kl/kl_clockconfig.c
index d996383d7..b28c20ac2 100644
--- a/nuttx/arch/arm/src/kl/kl_clockconfig.c
+++ b/nuttx/arch/arm/src/kl/kl_clockconfig.c
@@ -116,7 +116,7 @@ void kl_pllconfig(void)
/* System oscillator drives 32 kHz clock for various peripherals (OSC32KSEL=0) */
regval32 = getreg32(KL_SIM_SOPT1);
- regval32 &= ~(SIM_SOPT1_OSC32KSEL);
+ regval32 &= ~(SIM_SOPT1_OSC32KSEL_MASK);
putreg32(regval32, KL_SIM_SOPT1);
/* Select PLL as a clock source for various peripherals (PLLFLLSEL=1)