FlightTasks: fix switchTask() comment typo

This commit is contained in:
Matthias Grob 2019-10-08 20:32:44 +02:00
parent 97efbde6f4
commit 068f56d66f
1 changed files with 1 additions and 1 deletions

View File

@ -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)) {