AP_Arming: minor variable type change

no functional change
This commit is contained in:
Randy Mackay 2017-07-26 19:56:31 +09:00
parent e7707f6c84
commit 987eda9f38
1 changed files with 1 additions and 1 deletions

View File

@ -398,7 +398,7 @@ bool AP_Arming::battery_checks(bool report)
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 (report) {
GCS_MAVLINK::send_statustext_all(MAV_SEVERITY_CRITICAL, "PreArm: Battery %d voltage %.1f below minimum %.1f",