You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by ac...@apache.org on 2022/05/13 14:17:42 UTC

[incubator-nuttx] branch master updated: arch/arm/samv7/sam_afec: fix ADC pin for channel 9

This is an automated email from the ASF dual-hosted git repository.

acassis pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-nuttx.git


The following commit(s) were added to refs/heads/master by this push:
     new f095bf8f39 arch/arm/samv7/sam_afec: fix ADC pin for channel 9
f095bf8f39 is described below

commit f095bf8f390023fa0f69cb8f3e82d4327ad78169
Author: Petro Karashchenko <pe...@gmail.com>
AuthorDate: Fri May 13 14:33:40 2022 +0200

    arch/arm/samv7/sam_afec: fix ADC pin for channel 9
    
    Signed-off-by: Petro Karashchenko <pe...@gmail.com>
---
 arch/arm/src/samv7/sam_afec.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/arch/arm/src/samv7/sam_afec.c b/arch/arm/src/samv7/sam_afec.c
index fc619c1b6c..62aa1ea86f 100644
--- a/arch/arm/src/samv7/sam_afec.c
+++ b/arch/arm/src/samv7/sam_afec.c
@@ -204,7 +204,7 @@ gpio_pinset_t g_adcpinlist0[ADC_MAX_CHANNELS] =
     GPIO_AFE0_AD6,
     GPIO_AFE0_AD7,
     GPIO_AFE0_AD8,
-    GPIO_AFE0_AD0,
+    GPIO_AFE0_AD9,
     GPIO_AFE0_AD10,
 };
 #endif
@@ -244,7 +244,7 @@ gpio_pinset_t g_adcpinlist1[ADC_MAX_CHANNELS] =
     GPIO_AFE1_AD6,
     GPIO_AFE1_AD7,
     GPIO_AFE1_AD8,
-    GPIO_AFE1_AD0,
+    GPIO_AFE1_AD9,
     GPIO_AFE1_AD10,
 };
 #endif