mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-10 18:08:30 -04:00
AP_Arming: minor variable type change
no functional change
This commit is contained in:
parent
e7707f6c84
commit
987eda9f38
@ -398,7 +398,7 @@ bool AP_Arming::battery_checks(bool report)
|
|||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
for (int i = 0; i < _battery.num_instances(); i++) {
|
for (uint8_t i = 0; i < _battery.num_instances(); i++) {
|
||||||
if ((_min_voltage[i] > 0.0f) && (_battery.voltage(i) < _min_voltage[i])) {
|
if ((_min_voltage[i] > 0.0f) && (_battery.voltage(i) < _min_voltage[i])) {
|
||||||
if (report) {
|
if (report) {
|
||||||
GCS_MAVLINK::send_statustext_all(MAV_SEVERITY_CRITICAL, "PreArm: Battery %d voltage %.1f below minimum %.1f",
|
GCS_MAVLINK::send_statustext_all(MAV_SEVERITY_CRITICAL, "PreArm: Battery %d voltage %.1f below minimum %.1f",
|
||||||
|
Loading…
Reference in New Issue
Block a user