mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-18 00:13:34 +08:00
TAP_V1 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
fd25f0a594
commit
e9ca626e19
@@ -133,6 +133,11 @@
|
||||
#define ADC_BATTERY_VOLTAGE_CHANNEL 10
|
||||
#define ADC_BATTERY_CURRENT_CHANNEL ((uint8_t)(-1))
|
||||
|
||||
/* Define Battery 1 Voltage Divider
|
||||
* Use Default for A per V
|
||||
*/
|
||||
|
||||
#define BOARD_BATTERY1_V_DIV (9.0f)
|
||||
|
||||
/* No User GPIOs
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user