Skip to content
Snippets Groups Projects
Commit 1c5ededc authored by Andreas Bihlmaier's avatar Andreas Bihlmaier Committed by Gregory Nutt
Browse files

Merged in andreasBihlmaier/nuttx/fixes-lpc43_adc (pull request #250)

fix logic error in lpc43_adc

Approved-by: Gregory Nutt
parents 871756b6 e0a8d618
No related branches found
No related tags found
No related merge requests found
...@@ -470,7 +470,7 @@ static int adc_interrupt(int irq, void *context, FAR void *arg) ...@@ -470,7 +470,7 @@ static int adc_interrupt(int irq, void *context, FAR void *arg)
} }
else else
{ {
if (priv->freq == 0 && priv->m_ch) /* clear burst mode */ if (priv->freq == 0 && !priv->m_ch) /* clear burst mode */
{ {
regval = getreg32(LPC43_ADC0_CR); regval = getreg32(LPC43_ADC0_CR);
regval &= ~ADC_CR_BURST; regval &= ~ADC_CR_BURST;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment