From a77dd59dc62fb3dd0f6d732df430fcad78a387f4 Mon Sep 17 00:00:00 2001 From: Randy Mackay Date: Sat, 30 Jan 2016 17:15:28 +0900 Subject: [PATCH] Copter: single and coax copters become mav_type quadrotor --- ArduCopter/GCS_Mavlink.cpp | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/ArduCopter/GCS_Mavlink.cpp b/ArduCopter/GCS_Mavlink.cpp index c67cf996ac..4f78680e85 100644 --- a/ArduCopter/GCS_Mavlink.cpp +++ b/ArduCopter/GCS_Mavlink.cpp @@ -88,10 +88,8 @@ NOINLINE void Copter::send_heartbeat(mavlink_channel_t chan) MAV_TYPE_OCTOROTOR, #elif (FRAME_CONFIG == HELI_FRAME) MAV_TYPE_HELICOPTER, -#elif (FRAME_CONFIG == SINGLE_FRAME) //because mavlink did not define a singlecopter, we use a rocket - MAV_TYPE_ROCKET, -#elif (FRAME_CONFIG == COAX_FRAME) //because mavlink did not define a singlecopter, we use a rocket - MAV_TYPE_ROCKET, +#elif (FRAME_CONFIG == SINGLE_FRAME || FRAME_CONFIG == COAX_FRAME) //because mavlink did not define a singlecopter, we use a rocket + MAV_TYPE_QUADROTOR, #else #error Unrecognised frame type #endif