navigator: RTL on failsafe bug fixed

This commit is contained in:
Anton Babushkin
2014-01-25 23:49:33 +01:00
parent 92ddf7903b
commit 062b64a1e2
+3 -1
View File
@@ -729,7 +729,9 @@ Navigator::task_main()
} else if (_vstatus.failsafe_state == FAILSAFE_STATE_RTL) {
/* RTL on failsafe */
dispatch(EVENT_RTL_REQUESTED);
if (myState != NAV_STATE_READY || _rtl_state != RTL_STATE_LAND) {
dispatch(EVENT_RTL_REQUESTED);
}
} else {
/* shouldn't act */