mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-02-01 13:38:38 -04:00
AP_BattMonitor: replace int with uint8_t
non-functional change
This commit is contained in:
parent
d5e898156f
commit
6d8dc0fccf
@ -365,7 +365,7 @@ bool AP_BattMonitor::exhausted(uint8_t instance, float low_voltage, float min_ca
|
||||
bool AP_BattMonitor::overpower_detected() const
|
||||
{
|
||||
bool result = false;
|
||||
for (int instance = 0; instance < _num_instances; instance++) {
|
||||
for (uint8_t instance = 0; instance < _num_instances; instance++) {
|
||||
result |= overpower_detected(instance);
|
||||
}
|
||||
return result;
|
||||
|
Loading…
Reference in New Issue
Block a user