FollowMe: legacy implementation. NOTE: FOLLOW-ME is already broken on legacy code.

This commit is contained in:
Dennis Mannhart
2018-04-27 15:10:46 +02:00
committed by Lorenz Meier
parent 547cdc051c
commit dca378fbfd
8 changed files with 135 additions and 18 deletions
+4
View File
@@ -86,6 +86,10 @@ int FlightTasks::switchTask(FlightTaskIndex new_task_index)
_current_task = new (&_task_union.autoLine) FlightTaskAutoLine();
break;
case FlightTaskIndex::AutoFollowMe:
_current_task = new (&_task_union.autoFollowMe) FlightTaskAutoFollowMe();
break;
default:
/* invalid task */
return -1;