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

This commit is contained in:
David Sidrane
2017-01-19 12:08:57 -10:00
committed by Lorenz Meier
parent f86a8c0e5e
commit 894b41e313
2 changed files with 8 additions and 4 deletions
@@ -120,6 +120,12 @@
#define ADC_BATTERY_CURRENT_CHANNEL ((uint8_t)(-1))
#define ADC_AIRSPEED_VOLTAGE_CHANNEL ((uint8_t)(-1))
/* Define Battery 1 Voltage Divider and A per V
*/
#define BOARD_BATTERY1_V_DIV (7.8196363636f)
#define BOARD_BATTERY1_A_PER_V (15.391030303f)
/* PWM
*
* Eight PWM outputs are configured.