From 4794d90bbb3c7086e1e2a70c46bb581d56607608 Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Thu, 1 Aug 2013 22:08:16 +1000 Subject: [PATCH] HAL_PX4: support up to 16 analog channels --- libraries/AP_HAL_PX4/AnalogIn.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libraries/AP_HAL_PX4/AnalogIn.h b/libraries/AP_HAL_PX4/AnalogIn.h index ed4395e47d..10ccf7b685 100644 --- a/libraries/AP_HAL_PX4/AnalogIn.h +++ b/libraries/AP_HAL_PX4/AnalogIn.h @@ -8,7 +8,7 @@ #include #include -#define PX4_ANALOG_MAX_CHANNELS 8 +#define PX4_ANALOG_MAX_CHANNELS 16 // these are virtual pins that read from the ORB #define PX4_ANALOG_BATTERY_VOLTAGE_PIN 100