FMUV1 Moved magic numbers for battery V div and A per V to board_config.h

This commit is contained in:
David Sidrane
2017-01-21 11:45:36 +01:00
committed by Lorenz Meier
parent 894b41e313
commit df6b46d0ba
2 changed files with 6 additions and 9 deletions
@@ -126,6 +126,12 @@
#define ADC_BATTERY_CURRENT_CHANNEL ((uint8_t)(-1))
#define ADC_AIRSPEED_VOLTAGE_CHANNEL 11
/* Define Battery 1 Voltage Divider and A per V
*/
#define BOARD_BATTERY1_V_DIV (5.7013919372f)
#define BOARD_BATTERY1_A_PER_V (15.391030303f)
/* User GPIOs
*
* GPIO0-1 are the buffered high-power GPIOs.