diff --git a/ArduPlane/capabilities.cpp b/ArduPlane/capabilities.cpp index c389a45d9a..68da406fb0 100644 --- a/ArduPlane/capabilities.cpp +++ b/ArduPlane/capabilities.cpp @@ -4,11 +4,11 @@ void Plane::init_capabilities(void) { - hal.util->set_capabilities(MAV_PROTOCOL_CAPABILITY_MISSION_FLOAT); - hal.util->set_capabilities(MAV_PROTOCOL_CAPABILITY_PARAM_FLOAT); - hal.util->set_capabilities(MAV_PROTOCOL_CAPABILITY_COMMAND_INT); - hal.util->set_capabilities(MAV_PROTOCOL_CAPABILITY_MISSION_INT); - hal.util->set_capabilities(MAV_PROTOCOL_CAPABILITY_SET_POSITION_TARGET_GLOBAL_INT); - hal.util->set_capabilities(MAV_PROTOCOL_CAPABILITY_SET_ATTITUDE_TARGET); + hal.util->set_capabilities(MAV_PROTOCOL_CAPABILITY_MISSION_FLOAT | + MAV_PROTOCOL_CAPABILITY_PARAM_FLOAT | + MAV_PROTOCOL_CAPABILITY_COMMAND_INT | + MAV_PROTOCOL_CAPABILITY_MISSION_INT | + MAV_PROTOCOL_CAPABILITY_SET_POSITION_TARGET_GLOBAL_INT | + MAV_PROTOCOL_CAPABILITY_SET_ATTITUDE_TARGET); }