mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-02-28 10:43:58 -04:00
Plane: Quadplane: only log TILT
on tiltrotors
This commit is contained in:
parent
77137844c3
commit
c4cc7edece
@ -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(),
|
||||
|
Loading…
Reference in New Issue
Block a user