From cf3c62a743f08148199294ce67971d7b606df4bd Mon Sep 17 00:00:00 2001 From: Robert Lefebvre Date: Tue, 11 Aug 2015 14:32:09 -0400 Subject: [PATCH] Copter: Change name of rotor speed function to match that in library --- ArduCopter/Log.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ArduCopter/Log.cpp b/ArduCopter/Log.cpp index 0757c2a6d1..e4391c102b 100644 --- a/ArduCopter/Log.cpp +++ b/ArduCopter/Log.cpp @@ -664,7 +664,7 @@ struct PACKED log_Heli { LOG_PACKET_HEADER; uint64_t time_us; int16_t desired_rotor_speed; - int16_t estimated_rotor_speed; + int16_t main_rotor_speed; }; #if FRAME_CONFIG == HELI_FRAME @@ -675,7 +675,7 @@ void Copter::Log_Write_Heli() LOG_PACKET_HEADER_INIT(LOG_HELI_MSG), time_us : hal.scheduler->micros64(), desired_rotor_speed : motors.get_desired_rotor_speed(), - estimated_rotor_speed : motors.get_estimated_rotor_speed(), + main_rotor_speed : motors.get_main_rotor_speed(), }; DataFlash.WriteBlock(&pkt_heli, sizeof(pkt_heli)); }