aboutsummaryrefslogtreecommitdiff
path: root/src/modules/fixedwing_backside/fixedwing.cpp
diff options
context:
space:
mode:
authorJames Goppert <james.goppert@gmail.com>2013-11-14 16:15:30 -0500
committerJames Goppert <james.goppert@gmail.com>2013-11-14 16:15:30 -0500
commit1ffb71946d6291b0e6c49515a07b67e3787ed785 (patch)
treebb25c1157b11520044ae511746767a2c6c7de7f9 /src/modules/fixedwing_backside/fixedwing.cpp
parent2138a1c816e1856245bf9cb08dcd1304b1f827bb (diff)
downloadpx4-firmware-1ffb71946d6291b0e6c49515a07b67e3787ed785.tar.gz
px4-firmware-1ffb71946d6291b0e6c49515a07b67e3787ed785.tar.bz2
px4-firmware-1ffb71946d6291b0e6c49515a07b67e3787ed785.zip
Fixed backside automode typo.
Diffstat (limited to 'src/modules/fixedwing_backside/fixedwing.cpp')
-rw-r--r--src/modules/fixedwing_backside/fixedwing.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/fixedwing_backside/fixedwing.cpp b/src/modules/fixedwing_backside/fixedwing.cpp
index dd067e5c4..6dc19df41 100644
--- a/src/modules/fixedwing_backside/fixedwing.cpp
+++ b/src/modules/fixedwing_backside/fixedwing.cpp
@@ -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