FMUV4 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 e9ca626e19
commit 0baefec09f
2 changed files with 9 additions and 8 deletions
@@ -166,6 +166,13 @@
#define ADC_5V_RAIL_SENSE 4
#define ADC_RC_RSSI_CHANNEL 11
/* Define Battery 1 Voltage Divider and A per V
*/
#define BOARD_BATTERY1_V_DIV (13.653333333f)
#define BOARD_BATTERY1_A_PER_V (36.367515152f)
/* User GPIOs
*
* GPIO0-5 are the PWM servo outputs.