From 03b00cb9064d2813daa7b5c954dcb320eb4fb359 Mon Sep 17 00:00:00 2001 From: Iampete1 Date: Sat, 6 Apr 2024 17:12:59 +0100 Subject: [PATCH] AP_Vehicle: call `uart_log` in `one_Hz_update` --- libraries/AP_Vehicle/AP_Vehicle.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/libraries/AP_Vehicle/AP_Vehicle.cpp b/libraries/AP_Vehicle/AP_Vehicle.cpp index 5f26e0065a..829383dd31 100644 --- a/libraries/AP_Vehicle/AP_Vehicle.cpp +++ b/libraries/AP_Vehicle/AP_Vehicle.cpp @@ -1027,6 +1027,10 @@ void AP_Vehicle::one_Hz_update(void) scripting.update(); #endif +#if HAL_LOGGING_ENABLED + hal.util->uart_log(); +#endif + } void AP_Vehicle::check_motor_noise()