diff options
author | Anton Babushkin <anton.babushkin@me.com> | 2013-11-07 22:38:24 +0400 |
---|---|---|
committer | Anton Babushkin <anton.babushkin@me.com> | 2013-11-07 22:38:24 +0400 |
commit | 08b2c338f605d4d9ffa15b151368e127ead241e3 (patch) | |
tree | a4118b6adf02e9e880a67c8a0a98e58f78d0eac4 /src/modules | |
parent | d9767eb100ad6965012dfb945992843d157782d9 (diff) | |
download | px4-firmware-08b2c338f605d4d9ffa15b151368e127ead241e3.tar.gz px4-firmware-08b2c338f605d4d9ffa15b151368e127ead241e3.tar.bz2 px4-firmware-08b2c338f605d4d9ffa15b151368e127ead241e3.zip |
Workaround to compile on FMUv1.
Diffstat (limited to 'src/modules')
-rw-r--r-- | src/modules/sensors/sensors.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/modules/sensors/sensors.cpp b/src/modules/sensors/sensors.cpp index 789a4a30d..313923bcb 100644 --- a/src/modules/sensors/sensors.cpp +++ b/src/modules/sensors/sensors.cpp @@ -114,6 +114,7 @@ #ifdef CONFIG_ARCH_BOARD_PX4FMU_V1 #define ADC_BATTERY_VOLTAGE_CHANNEL 10 +#define ADC_BATTERY_CURRENT_CHANNEL -1 #define ADC_AIRSPEED_VOLTAGE_CHANNEL 11 #endif |