From f21f82223c804e3e1cdc47da0fc1dba0357760fa Mon Sep 17 00:00:00 2001 From: Julian Oes Date: Mon, 29 Feb 2016 19:20:05 +0000 Subject: [PATCH] ekf2: fix stupid bug caught by travis on Mac --- src/modules/ekf2/ekf2_main.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/modules/ekf2/ekf2_main.cpp b/src/modules/ekf2/ekf2_main.cpp index b48d984737..e200ea313b 100644 --- a/src/modules/ekf2/ekf2_main.cpp +++ b/src/modules/ekf2/ekf2_main.cpp @@ -476,7 +476,7 @@ void Ekf2::task_main() if (actuator_armed_updated) { orb_copy(ORB_ID(actuator_armed), _actuator_armed_sub, &actuator_armed); - _ekf->set_arm_status(&actuator_armed.armed); + _ekf->set_arm_status(actuator_armed.armed); } orb_check(_vehicle_land_detected_sub, &vehicle_land_detected_updated);