From f1e43979abe732b79f91a69a23a1f7da7a379295 Mon Sep 17 00:00:00 2001 From: "Dr.-Ing. Amilcar Do Carmo Lucas" Date: Thu, 15 Feb 2018 20:16:43 +0100 Subject: [PATCH] ArduCopter: NFC small renames and comment improvements --- ArduCopter/mode_follow.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ArduCopter/mode_follow.cpp b/ArduCopter/mode_follow.cpp index ed37061e85..463accd154 100644 --- a/ArduCopter/mode_follow.cpp +++ b/ArduCopter/mode_follow.cpp @@ -113,7 +113,7 @@ void Copter::ModeFollow::run() case AP_Follow::YAW_BEHAVE_SAME_AS_LEAD_VEHICLE: { float target_hdg = 0.0f; - if (g2.follow.get_target_heading(target_hdg)) { + if (g2.follow.get_target_heading_deg(target_hdg)) { yaw_cd = target_hdg * 100.0f; use_yaw = true; }