From 9b66f218096d1dc94d1a12c8de469bb2d7e684c5 Mon Sep 17 00:00:00 2001 From: Michael du Breuil Date: Sun, 4 Dec 2016 13:47:20 -0700 Subject: [PATCH] Copter: add compass cal capability bit --- ArduCopter/capabilities.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/ArduCopter/capabilities.cpp b/ArduCopter/capabilities.cpp index 82db1897b9..a7c05ca871 100644 --- a/ArduCopter/capabilities.cpp +++ b/ArduCopter/capabilities.cpp @@ -9,7 +9,8 @@ void Copter::init_capabilities(void) MAV_PROTOCOL_CAPABILITY_SET_POSITION_TARGET_LOCAL_NED | MAV_PROTOCOL_CAPABILITY_SET_POSITION_TARGET_GLOBAL_INT | MAV_PROTOCOL_CAPABILITY_FLIGHT_TERMINATION | - MAV_PROTOCOL_CAPABILITY_SET_ATTITUDE_TARGET); + MAV_PROTOCOL_CAPABILITY_SET_ATTITUDE_TARGET | + MAV_PROTOCOL_CAPABILITY_COMPASS_CALIBRATION); #if AP_TERRAIN_AVAILABLE && AC_TERRAIN hal.util->set_capabilities(MAV_PROTOCOL_CAPABILITY_TERRAIN); #endif