arch/arm/src/lpc17xx_40xx/lpc17_40_adc.c: Fix very minor coding standard problem in last PR.
This commit is contained in:
parent
bc38e98862
commit
97265f3ca3
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user