mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-03-03 04:03:59 -04:00
AP_Mission: rename starts_with_takeoff_cmd
This commit is contained in:
parent
26e41fee7a
commit
54731a139f
@ -113,8 +113,8 @@ void AP_Mission::resume()
|
||||
}
|
||||
}
|
||||
|
||||
// return false if next command in the mission is not takeoff
|
||||
bool AP_Mission::check_takeoff_cmd()
|
||||
/// check mission starts with a takeoff command
|
||||
bool AP_Mission::starts_with_takeoff_cmd()
|
||||
{
|
||||
Mission_Command cmd = {};
|
||||
uint16_t cmd_index;
|
||||
|
@ -304,7 +304,9 @@ public:
|
||||
|
||||
/// start_or_resume - if MIS_AUTORESTART=0 this will call resume(), otherwise it will call start()
|
||||
void start_or_resume();
|
||||
bool check_takeoff_cmd();
|
||||
|
||||
/// check mission starts with a takeoff command
|
||||
bool starts_with_takeoff_cmd();
|
||||
|
||||
/// reset - reset mission to the first command
|
||||
void reset();
|
||||
|
Loading…
Reference in New Issue
Block a user