aboutsummaryrefslogtreecommitdiff
path: root/apps/drivers
diff options
context:
space:
mode:
authorLorenz Meier <lm@inf.ethz.ch>2012-12-19 14:19:11 +0100
committerLorenz Meier <lm@inf.ethz.ch>2012-12-19 14:19:11 +0100
commit4676b71d8ade5b9ce27e63f1d204b8ffed58b325 (patch)
treed11f91b2408ade91a6f9fb415511dfe1e22371e0 /apps/drivers
parentbc3b66043f57adebdef3980f3a113d2d5362416a (diff)
downloadpx4-firmware-4676b71d8ade5b9ce27e63f1d204b8ffed58b325.tar.gz
px4-firmware-4676b71d8ade5b9ce27e63f1d204b8ffed58b325.tar.bz2
px4-firmware-4676b71d8ade5b9ce27e63f1d204b8ffed58b325.zip
Cleanup in ADC driver, re-add all inputs that are present
Diffstat (limited to 'apps/drivers')
-rw-r--r--apps/drivers/boards/px4fmu/px4fmu_adc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/drivers/boards/px4fmu/px4fmu_adc.c b/apps/drivers/boards/px4fmu/px4fmu_adc.c
index 987894163..b55af486d 100644
--- a/apps/drivers/boards/px4fmu/px4fmu_adc.c
+++ b/apps/drivers/boards/px4fmu/px4fmu_adc.c
@@ -67,10 +67,10 @@
/* Identifying number of each ADC channel: Variable Resistor. */
#ifdef CONFIG_STM32_ADC3
-static const uint8_t g_chanlist[ADC3_NCHANNELS] = {10, 11};// , 12, 13}; ADC12 and 13 are used by MPU on v1.5 boards
+static const uint8_t g_chanlist[ADC3_NCHANNELS] = {10, 11, 12, 13};
/* Configurations of pins used byte each ADC channels */
-static const uint32_t g_pinlist[ADC3_NCHANNELS] = {GPIO_ADC3_IN10, GPIO_ADC3_IN11}; // ADC12 and 13 are used by MPU on v1.5 boards, GPIO_ADC3_IN12, GPIO_ADC3_IN13};
+static const uint32_t g_pinlist[ADC3_NCHANNELS] = {GPIO_ADC3_IN10, GPIO_ADC3_IN11, GPIO_ADC3_IN12, GPIO_ADC3_IN13};
#endif
/************************************************************************************