From ea0da3a3b60331b43318734907f7a50e9092badc Mon Sep 17 00:00:00 2001 From: David Sidrane Date: Fri, 5 Jul 2019 18:23:06 +0200 Subject: [PATCH] px4/fmu-v5x: GPIO ADC had bad definition --- boards/px4/fmu-v5x/src/board_config.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/boards/px4/fmu-v5x/src/board_config.h b/boards/px4/fmu-v5x/src/board_config.h index 6cff4add62..fb9f1e2c7f 100644 --- a/boards/px4/fmu-v5x/src/board_config.h +++ b/boards/px4/fmu-v5x/src/board_config.h @@ -339,8 +339,8 @@ #define BOARD_HAS_HW_VERSIONING #define GPIO_HW_VER_REV_DRIVE /* PG0 */ (GPIO_OUTPUT|GPIO_PUSHPULL|GPIO_SPEED_2MHz|GPIO_OUTPUT_SET|GPIO_PORTG|GPIO_PIN0) -#define GPIO_HW_REV_SENSE /* PF5 */ ADC3_CH(15) -#define GPIO_HW_VER_SENSE /* PF4 */ ADC3_CH(14) +#define GPIO_HW_REV_SENSE /* PF5 */ ADC3_GPIO(15) +#define GPIO_HW_VER_SENSE /* PF4 */ ADC3_GPIO(14) #define HW_INFO_INIT {'V','5','X','x', 'x',0} #define HW_INFO_INIT_VER 3 /* Offset in above string of the VER */ #define HW_INFO_INIT_REV 4 /* Offset in above string of the REV */