Copter: allow THROW_NEXTMODE=LOITER

This commit is contained in:
Andrew Tridgell 2017-08-26 12:08:52 +10:00 committed by Randy Mackay
parent 311d7c11e4
commit ef0144751e

View File

@ -90,6 +90,7 @@ void Copter::throw_run()
case RTL:
case LAND:
case BRAKE:
case LOITER:
set_mode((control_mode_t)g2.throw_nextmode.get(), MODE_REASON_THROW_COMPLETE);
break;
default: