Browse Source

ArduCopter: NFC small renames and comment improvements

master
Dr.-Ing. Amilcar Do Carmo Lucas 7 years ago committed by Randy Mackay
parent
commit
f1e43979ab
  1. 2
      ArduCopter/mode_follow.cpp

2
ArduCopter/mode_follow.cpp

@ -113,7 +113,7 @@ void Copter::ModeFollow::run() @@ -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;
}

Loading…
Cancel
Save