Plane: Quadplane: only log TILT on tiltrotors

This commit is contained in:
Iampete1 2025-02-07 00:24:47 +00:00 committed by Peter Hall
parent ad97fe6a6c
commit cc00276441

View File

@ -400,6 +400,11 @@ void Tiltrotor::update(void)
// Write tiltrotor specific log
void Tiltrotor::write_log()
{
// Only valid on a tiltrotor
if (!enabled()) {
return;
}
struct log_tiltrotor pkt {
LOG_PACKET_HEADER_INIT(LOG_TILT_MSG),
time_us : AP_HAL::micros64(),