Copter: resolve RTL state compiler warnings

This commit is contained in:
Randy Mackay 2014-02-03 22:11:13 +09:00 committed by Andrew Tridgell
parent 12a4ce70fd
commit aa4c3eaffe
2 changed files with 1 additions and 1 deletions

View File

@ -500,6 +500,7 @@ static void do_change_alt()
// To-Do; reset origin to current location + stopping distance at new altitude
break;
case Auto_Land:
case Auto_RTL:
// ignore altitude
break;
case Auto_Circle:

View File

@ -193,7 +193,6 @@ enum AutoMode {
// RTL states
enum RTLState {
Start,
InitialClimb,
ReturnHome,
LoiterAtHome,