AP_Mission: fixed typo

This commit is contained in:
Andrew Tridgell 2014-03-13 20:34:53 +11:00 committed by Randy Mackay
parent 9b0ae2fcff
commit acdaf561c8

View File

@ -245,7 +245,7 @@ bool AP_Mission::set_current_cmd(uint16_t index)
_prev_nav_cmd_index = AP_MISSION_CMD_INDEX_NONE;
// reset the jump tracking to zero
init_jump_tracking();
index == 1;
index = 1;
}
// if the mission is stopped or completed move the nav_cmd index to the specified point and set the state to stopped