From 3c401c396c690228987df354a7a50bd46a12d790 Mon Sep 17 00:00:00 2001 From: Lorenz Meier Date: Wed, 20 Jan 2016 10:47:50 +0100 Subject: [PATCH] Adjust to AUAV screwup on voltage / current pins --- src/drivers/boards/px4fmu-v4/board_config.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/drivers/boards/px4fmu-v4/board_config.h b/src/drivers/boards/px4fmu-v4/board_config.h index ea82a7a031..dcf21e2566 100644 --- a/src/drivers/boards/px4fmu-v4/board_config.h +++ b/src/drivers/boards/px4fmu-v4/board_config.h @@ -157,8 +157,8 @@ __BEGIN_DECLS #define ADC_CHANNELS (1 << 2) | (1 << 3) | (1 << 4) | (1 << 10) | (1 << 11) | (1 << 12) | (1 << 13) | (1 << 14) // ADC defines to be used in sensors.cpp to read from a particular channel -#define ADC_BATTERY_VOLTAGE_CHANNEL 2 -#define ADC_BATTERY_CURRENT_CHANNEL 3 +#define ADC_BATTERY_VOLTAGE_CHANNEL 3 +#define ADC_BATTERY_CURRENT_CHANNEL 2 #define ADC_5V_RAIL_SENSE 4 /* User GPIOs