aboutsummaryrefslogtreecommitdiff
path: root/src/modules/commander/commander.cpp
diff options
context:
space:
mode:
authorThomas Gubler <thomasgubler@gmail.com>2014-08-22 20:24:04 +0200
committerThomas Gubler <thomasgubler@gmail.com>2014-08-22 20:24:04 +0200
commit406a52e6399b171cfe454b85774f12f9add40aee (patch)
treefde876c4d444ea5aff6953477347d460089fd809 /src/modules/commander/commander.cpp
parentc60ee686fa8e12d89055749ef32dd62b8175264d (diff)
downloadpx4-firmware-406a52e6399b171cfe454b85774f12f9add40aee.tar.gz
px4-firmware-406a52e6399b171cfe454b85774f12f9add40aee.tar.bz2
px4-firmware-406a52e6399b171cfe454b85774f12f9add40aee.zip
fix typo
Diffstat (limited to 'src/modules/commander/commander.cpp')
-rw-r--r--src/modules/commander/commander.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/commander/commander.cpp b/src/modules/commander/commander.cpp
index 109ab403a..243546787 100644
--- a/src/modules/commander/commander.cpp
+++ b/src/modules/commander/commander.cpp
@@ -1314,7 +1314,7 @@ int commander_thread_main(int argc, char *argv[])
if (pos_sp_triplet.geofence_violated || pos_sp_triplet.flight_termination) {
//XXX: make this configurable to select different actions (e.g. navigation modes)
/* this will only trigger if geofence is activated via param and a geofence file is present, also there is a circuit breaker to disable the actual flight termination in the px4io driver */
- armed.fosrce_failsafe = true;
+ armed.force_failsafe = true;
status_changed = true;
warnx("Flight termination");
} // no reset is done here on purpose, on geofence violation we want to stay in flighttermination