From e0a8d61804149dee1cfe80593c17931e26a99b21 Mon Sep 17 00:00:00 2001 From: ahb Date: Thu, 9 Mar 2017 11:17:11 +0100 Subject: [PATCH] fix logic error in lpc43_adc --- arch/arm/src/lpc43xx/lpc43_adc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/src/lpc43xx/lpc43_adc.c b/arch/arm/src/lpc43xx/lpc43_adc.c index 42bfbac817..1aa78f233b 100644 --- a/arch/arm/src/lpc43xx/lpc43_adc.c +++ b/arch/arm/src/lpc43xx/lpc43_adc.c @@ -470,7 +470,7 @@ static int adc_interrupt(int irq, void *context, FAR void *arg) } 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 &= ~ADC_CR_BURST;