From 2ceb952a73aecfefd85ee72824ef2a8ef0b8ac6b Mon Sep 17 00:00:00 2001 From: Rocco Marco Guglielmi Date: Thu, 5 May 2016 08:05:35 +0000 Subject: Fixed typo git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@9416 35acf78f-673a-0410-8e92-d51de3d6d3f4 --- os/hal/boards/ST_NUCLEO64_F446RE/board.h | 6 +++--- os/hal/boards/ST_NUCLEO64_F446RE/cfg/board.chcfg | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/os/hal/boards/ST_NUCLEO64_F446RE/board.h b/os/hal/boards/ST_NUCLEO64_F446RE/board.h index dca5c8fae..8ef4addb4 100644 --- a/os/hal/boards/ST_NUCLEO64_F446RE/board.h +++ b/os/hal/boards/ST_NUCLEO64_F446RE/board.h @@ -58,7 +58,7 @@ #define GPIOA_ARD_A0 0U #define GPIOA_ADC123_IN0 0U #define GPIOA_ARD_A1 1U -#define GPIOA_ADC123_IN0 1U +#define GPIOA_ADC123_IN1 1U #define GPIOA_ARD_D1 2U #define GPIOA_USART2_TX 2U #define GPIOA_ARD_D0 3U @@ -224,7 +224,7 @@ #define LINE_ARD_A0 PAL_LINE(GPIOA, 0U) #define LINE_ADC123_IN0 PAL_LINE(GPIOA, 0U) #define LINE_ARD_A1 PAL_LINE(GPIOA, 1U) -#define LINE_ADC123_IN0 PAL_LINE(GPIOA, 1U) +#define LINE_ADC123_IN1 PAL_LINE(GPIOA, 1U) #define LINE_ARD_D1 PAL_LINE(GPIOA, 2U) #define LINE_USART2_TX PAL_LINE(GPIOA, 2U) #define LINE_ARD_D0 PAL_LINE(GPIOA, 3U) @@ -297,7 +297,7 @@ * GPIOA setup: * * PA0 - ARD_A0 ADC123_IN0 (input pullup). - * PA1 - ARD_A1 ADC123_IN0 (input pullup). + * PA1 - ARD_A1 ADC123_IN1 (input pullup). * PA2 - ARD_D1 USART2_TX (alternate 7). * PA3 - ARD_D0 USART2_RX (alternate 7). * PA4 - ARD_A2 ADC12_IN4 (input pullup). diff --git a/os/hal/boards/ST_NUCLEO64_F446RE/cfg/board.chcfg b/os/hal/boards/ST_NUCLEO64_F446RE/cfg/board.chcfg index 5a91c9c15..f3a1012b4 100644 --- a/os/hal/boards/ST_NUCLEO64_F446RE/cfg/board.chcfg +++ b/os/hal/boards/ST_NUCLEO64_F446RE/cfg/board.chcfg @@ -29,7 +29,7 @@ Mode="Input" Alternate="0" />