From ef5d808f6d5dcc2c41e09e28153cdffbe1746bc4 Mon Sep 17 00:00:00 2001 From: David Sidrane Date: Wed, 6 Sep 2017 16:28:23 -1000 Subject: [PATCH] px4fmu-v4pro:Override default BOARD_VALID_UV Based on the R values on the LTC4411 the px4fmu-v4pro has a UV of 4.01 Volts. --- src/drivers/boards/px4fmu-v4pro/board_config.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/drivers/boards/px4fmu-v4pro/board_config.h b/src/drivers/boards/px4fmu-v4pro/board_config.h index c8e816e4b8..f21f884d3f 100644 --- a/src/drivers/boards/px4fmu-v4pro/board_config.h +++ b/src/drivers/boards/px4fmu-v4pro/board_config.h @@ -211,6 +211,10 @@ #define BOARD_BATTERY2_V_DIV (6.490196078f) #define BOARD_BATTERY2_A_PER_V (26.4f) +/* Define LTC4417 UV set by resistors on the board that are different than FMUv2 3.7V */ + +#define BOARD_VALID_UV (4.01f) + /* User GPIOs * * GPIO0-5 are the PWM servo outputs.