Copter: log MNT at 10hz

This commit is contained in:
Randy Mackay 2023-07-18 20:27:13 +09:00 committed by Andrew Tridgell
parent fd6db1ef45
commit 9d2e9b37c8

View File

@ -583,6 +583,11 @@ void Copter::ten_hz_logging_loop()
g2.winch.write_log(); g2.winch.write_log();
} }
#endif #endif
#if HAL_MOUNT_ENABLED
if (should_log(MASK_LOG_CAMERA)) {
camera_mount.write_log();
}
#endif
} }
// twentyfive_hz_logging - should be run at 25hz // twentyfive_hz_logging - should be run at 25hz