Add Guided mode to failsafe handling

This commit is contained in:
Doug Weibel 2011-11-26 19:25:54 -07:00
parent e965d95ba8
commit ca5560ef1c
1 changed files with 2 additions and 0 deletions

View File

@ -17,6 +17,7 @@ static void failsafe_short_on_event()
break; break;
case AUTO: case AUTO:
case GUIDED:
case LOITER: case LOITER:
if(g.short_fs_action == 1) { if(g.short_fs_action == 1) {
set_mode(RTL); set_mode(RTL);
@ -47,6 +48,7 @@ static void failsafe_long_on_event()
break; break;
case AUTO: case AUTO:
case GUIDED:
case LOITER: case LOITER:
if(g.long_fs_action == 1) { if(g.long_fs_action == 1) {
set_mode(RTL); set_mode(RTL);