AP_Mission: Fix typos

This commit is contained in:
Ricardo de Almeida Gonzaga 2016-05-12 13:59:11 -03:00 committed by Lucas De Marchi
parent 91e9dd10ba
commit dfe38b61de
2 changed files with 3 additions and 3 deletions

View File

@ -783,7 +783,7 @@ MAV_MISSION_RESULT AP_Mission::mavlink_int_to_mission_cmd(const mavlink_mission_
}
}
// if we got this far then it must have been succesful
// if we got this far then it must have been successful
return MAV_MISSION_ACCEPTED;
}
@ -1437,7 +1437,7 @@ void AP_Mission::init_jump_tracking()
/// get_jump_times_run - returns number of times the jump command has been run
int16_t AP_Mission::get_jump_times_run(const Mission_Command& cmd)
{
// exit immediatley if cmd is not a do-jump command or target is invalid
// exit immediately if cmd is not a do-jump command or target is invalid
if ((cmd.id != MAV_CMD_DO_JUMP) || (cmd.content.jump.target >= (unsigned)_cmd_total) || (cmd.content.jump.target == 0)) {
// To-Do: log an error?
return AP_MISSION_JUMP_TIMES_MAX;

View File

@ -7,7 +7,7 @@
* The AP_Mission library:
* - responsible for managing a list of commands made up of "nav", "do" and "conditional" commands
* - reads and writes the mission commands to storage.
* - provides easy acces to current, previous and upcoming waypoints
* - provides easy access to current, previous and upcoming waypoints
* - calls main program's command execution and verify functions.
* - accounts for the DO_JUMP command
*