From 013e34661206a69fec61ec4d0998d36d299b5a42 Mon Sep 17 00:00:00 2001 From: Lorenz Meier Date: Mon, 2 Nov 2015 11:51:50 +0100 Subject: [PATCH] Commander: Fix Geofence action access --- src/modules/commander/commander.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/modules/commander/commander.cpp b/src/modules/commander/commander.cpp index 54463ee94d..5cdd7cf4e4 100644 --- a/src/modules/commander/commander.cpp +++ b/src/modules/commander/commander.cpp @@ -1269,7 +1269,7 @@ int commander_thread_main(int argc, char *argv[]) float rc_loss_timeout = 0.5; int32_t datalink_regain_timeout = 0; - uint8_t geofence_action = 0; + int32_t geofence_action = 0; /* Thresholds for engine failure detection */ int32_t ef_throttle_thres = 1.0f;