mirror of
https://github.com/PX4/PX4-Autopilot.git
synced 2026-06-06 16:49:51 +08:00
Battery: Fix code style
This commit is contained in:
@@ -167,6 +167,7 @@ Battery::determineWarning()
|
||||
// Smallest values must come first
|
||||
if (_remaining < 0.09f) {
|
||||
_warning = battery_status_s::BATTERY_WARNING_CRITICAL;
|
||||
|
||||
} else if (_remaining < 0.18f) {
|
||||
_warning = battery_status_s::BATTERY_WARNING_LOW;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user