mirror of
https://github.com/PX4/PX4-Autopilot.git
synced 2026-05-25 16:56:25 +08:00
powerCheck: make 5V warning threshold 0.1V lower
Because of warnings on every flight on setups without any need for concern. Some even high quality supply voltage regulators that are rated for 5V can with tolerances and load get lower than 4.9V.
This commit is contained in:
committed by
Daniel Agar
parent
c96b5246ff
commit
03bafd5581
@@ -67,7 +67,7 @@ bool PreFlightCheck::powerCheck(orb_advert_t *mavlink_log_pub, const vehicle_sta
|
||||
(double)avionics_power_rail_voltage);
|
||||
}
|
||||
|
||||
} else if (avionics_power_rail_voltage < 4.9f) {
|
||||
} else if (avionics_power_rail_voltage < 4.8f) {
|
||||
if (report_fail) {
|
||||
mavlink_log_critical(mavlink_log_pub, "CAUTION: Avionics Power low: %6.2f Volt", (double)avionics_power_rail_voltage);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user