From 98647503365839ec091fb9debd3333b5e4db6bde Mon Sep 17 00:00:00 2001 From: Leonard Hall Date: Sat, 4 Jun 2016 13:30:55 +0900 Subject: [PATCH] Copter: rename CTUN desired_velocity to target_velocity No functional change --- ArduCopter/Log.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ArduCopter/Log.cpp b/ArduCopter/Log.cpp index 160622df38..eca8b5d3a8 100644 --- a/ArduCopter/Log.cpp +++ b/ArduCopter/Log.cpp @@ -309,7 +309,7 @@ struct PACKED log_Control_Tuning { int16_t desired_rangefinder_alt; int16_t rangefinder_alt; float terr_alt; - int16_t desired_climb_rate; + int16_t target_climb_rate; int16_t climb_rate; }; @@ -335,7 +335,7 @@ void Copter::Log_Write_Control_Tuning() desired_rangefinder_alt : (int16_t)target_rangefinder_alt, rangefinder_alt : rangefinder_state.alt_cm, terr_alt : terr_alt, - desired_climb_rate : (int16_t)pos_control.get_vel_target_z(), + target_climb_rate : (int16_t)pos_control.get_vel_target_z(), climb_rate : climb_rate }; DataFlash.WriteBlock(&pkt, sizeof(pkt));