ArduCopter: NFC small renames and comment improvements

This commit is contained in:
Dr.-Ing. Amilcar Do Carmo Lucas 2018-02-15 20:16:43 +01:00 committed by Randy Mackay
parent ff28337bfd
commit f1e43979ab
1 changed files with 1 additions and 1 deletions

View File

@ -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;
}