forked from Archive/PX4-Autopilot
FlightTasks: fix switchTask() comment typo
This commit is contained in:
parent
97efbde6f4
commit
068f56d66f
|
@ -63,7 +63,7 @@ FlightTaskError FlightTasks::switchTask(FlightTaskIndex new_task_index)
|
||||||
return FlightTaskError::NoError;
|
return FlightTaskError::NoError;
|
||||||
}
|
}
|
||||||
|
|
||||||
// Save current setpoints for the nex FlightTask
|
// Save current setpoints for the next FlightTask
|
||||||
vehicle_local_position_setpoint_s last_setpoint = getPositionSetpoint();
|
vehicle_local_position_setpoint_s last_setpoint = getPositionSetpoint();
|
||||||
|
|
||||||
if (_initTask(new_task_index)) {
|
if (_initTask(new_task_index)) {
|
||||||
|
|
Loading…
Reference in New Issue