mirror of
https://github.com/PX4/PX4-Autopilot.git
synced 2026-05-22 06:14:14 +08:00
fmu-v5 board_config: add BOARD_BATTERY1_V_DIV and BOARD_BATTERY1_A_PER_V
This commit is contained in:
@@ -322,6 +322,12 @@
|
||||
(1 << ADC1_SPARE_1_CHANNEL))
|
||||
#endif
|
||||
|
||||
/* Define Battery 1 Voltage Divider and A per V
|
||||
*/
|
||||
|
||||
#define BOARD_BATTERY1_V_DIV (10.133333333f)
|
||||
#define BOARD_BATTERY1_A_PER_V (36.367515152f)
|
||||
|
||||
/* HW has to large of R termination on ADC todo:change when HW value is chosen */
|
||||
|
||||
#define BOARD_ADC_OPEN_CIRCUIT_V (5.6f)
|
||||
|
||||
Reference in New Issue
Block a user