mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-06-29 08:30:34 +08:00
commander: fixes after rebase
This commit is contained in:
@@ -1966,7 +1966,7 @@ int commander_thread_main(int argc, char *argv[])
|
||||
mavlink_log_critical(&mavlink_log_pub, "LOW BATTERY, TAKEOFF DISCOURAGED");
|
||||
}
|
||||
|
||||
} else if (!status.usb_connected &&
|
||||
} else if (!status_flags.usb_connected &&
|
||||
battery.warning == battery_status_s::BATTERY_WARNING_CRITICAL &&
|
||||
!critical_battery_voltage_actions_done &&
|
||||
low_battery_voltage_actions_done) {
|
||||
|
||||
Reference in New Issue
Block a user