Fixed backside automode typo.

This commit is contained in:
James Goppert
2013-11-14 16:15:30 -05:00
parent 2138a1c816
commit 1ffb71946d
+1 -1
View File
@@ -167,7 +167,7 @@ void BlockMultiModeBacksideAutopilot::update()
// the setpoint should update to loitering around this position
// handle autopilot modes
if (_status.main_state != MAIN_STATE_AUTO) {
if (_status.main_state == MAIN_STATE_AUTO) {
// calculate velocity, XXX should be airspeed,
// but using ground speed for now for the purpose