Copter: Change name of rotor speed function to match that in library

This commit is contained in:
Robert Lefebvre 2015-08-11 14:32:09 -04:00 committed by Randy Mackay
parent 315f0408ae
commit 161ce5c11d
1 changed files with 2 additions and 2 deletions

View File

@ -664,7 +664,7 @@ struct PACKED log_Heli {
LOG_PACKET_HEADER; LOG_PACKET_HEADER;
uint64_t time_us; uint64_t time_us;
int16_t desired_rotor_speed; int16_t desired_rotor_speed;
int16_t estimated_rotor_speed; int16_t main_rotor_speed;
}; };
#if FRAME_CONFIG == HELI_FRAME #if FRAME_CONFIG == HELI_FRAME
@ -675,7 +675,7 @@ void Copter::Log_Write_Heli()
LOG_PACKET_HEADER_INIT(LOG_HELI_MSG), LOG_PACKET_HEADER_INIT(LOG_HELI_MSG),
time_us : hal.scheduler->micros64(), time_us : hal.scheduler->micros64(),
desired_rotor_speed : motors.get_desired_rotor_speed(), 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)); DataFlash.WriteBlock(&pkt_heli, sizeof(pkt_heli));
} }