arch/arm/src/lpc17xx_40xx/lpc17_40_adc.c: Fix very minor coding standard problem in last PR.

This commit is contained in:
Gregory Nutt 2019-07-29 12:05:47 -06:00
parent bc38e98862
commit 97265f3ca3
1 changed files with 2 additions and 1 deletions

View File

@ -213,8 +213,9 @@ static void adc_reset(FAR struct adc_dev_s *dev)
putreg32(ADC_CR_PDN, LPC17_40_ADC_CR);
/* PCLKSEL0 only exists in LPC176x family parts */
#ifdef LPC176x
/* PCLKSEL0 only exists in LPC176x family parts */
regval = getreg32(LPC17_40_SYSCON_PCLKSEL0);
regval &= ~SYSCON_PCLKSEL0_ADC_MASK;
regval |= (SYSCON_PCLKSEL_CCLK8 << SYSCON_PCLKSEL0_ADC_SHIFT);