From 264bd91f4e42e94418ee9eb82c36f26bf584e416 Mon Sep 17 00:00:00 2001 From: Iampete1 Date: Sat, 6 Apr 2024 17:12:40 +0100 Subject: [PATCH] AP_Logger: add log structures from AP_HAL --- libraries/AP_Logger/LogStructure.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/libraries/AP_Logger/LogStructure.h b/libraries/AP_Logger/LogStructure.h index 30ff2c6d9d..261f6e17e5 100644 --- a/libraries/AP_Logger/LogStructure.h +++ b/libraries/AP_Logger/LogStructure.h @@ -145,6 +145,7 @@ const struct MultiplierStructure log_Multipliers[] = { #include #include #include +#include // structure used to define logging format // It is packed on ChibiOS to save flash space; however, this causes problems @@ -1271,6 +1272,7 @@ LOG_STRUCTURE_FROM_NAVEKF3 \ LOG_STRUCTURE_FROM_NAVEKF \ LOG_STRUCTURE_FROM_AHRS \ LOG_STRUCTURE_FROM_HAL_CHIBIOS \ +LOG_STRUCTURE_FROM_HAL \ LOG_STRUCTURE_FROM_RPM \ LOG_STRUCTURE_FROM_FENCE \ { LOG_DF_FILE_STATS, sizeof(log_DSF), \ @@ -1391,6 +1393,7 @@ enum LogMessages : uint8_t { LOG_RCOUT2_MSG, LOG_RCOUT3_MSG, LOG_IDS_FROM_FENCE, + LOG_IDS_FROM_HAL, _LOG_LAST_MSG_ };