From 9d2e9b37c8ac247cd0586f4445330fba7624286a Mon Sep 17 00:00:00 2001 From: Randy Mackay Date: Tue, 18 Jul 2023 20:27:13 +0900 Subject: [PATCH] Copter: log MNT at 10hz --- ArduCopter/Copter.cpp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/ArduCopter/Copter.cpp b/ArduCopter/Copter.cpp index f7a0f44871..605532d444 100644 --- a/ArduCopter/Copter.cpp +++ b/ArduCopter/Copter.cpp @@ -583,6 +583,11 @@ void Copter::ten_hz_logging_loop() g2.winch.write_log(); } #endif +#if HAL_MOUNT_ENABLED + if (should_log(MASK_LOG_CAMERA)) { + camera_mount.write_log(); + } +#endif } // twentyfive_hz_logging - should be run at 25hz