mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-20 03:43:34 +08:00
MINDPX_V2 Moved magic numbers for battery V div and A per V to board_config.h
This commit is contained in:
committed by
Lorenz Meier
parent
e0fa53f444
commit
f86a8c0e5e
@@ -153,6 +153,12 @@
|
||||
#define ADC_RC_RSSI_CHANNEL 11
|
||||
#define ADC_AIRSPEED_VOLTAGE_CHANNEL 15
|
||||
|
||||
/* Define Battery 1 Voltage Divider and A per V
|
||||
*/
|
||||
|
||||
#define BOARD_BATTERY1_V_DIV (10.177939394f)
|
||||
#define BOARD_BATTERY1_A_PER_V (15.391030303f)
|
||||
|
||||
/* User GPIOs
|
||||
*
|
||||
* GPIO0-7 are the PWM servo outputs.
|
||||
|
||||
Reference in New Issue
Block a user