From 88598ed83d5d0bd208e36113cfe73afc6c68450b Mon Sep 17 00:00:00 2001 From: Bob Long Date: Wed, 11 Sep 2024 16:14:44 +1000 Subject: [PATCH] CxVersion: move include file to AP_FWVersion.h Previously LoggerMessageWriter wasn't correctly seeing that we had defined a custom fw string, so it was only logging our custom string message to the log, and leaving out the ArduPlane X.Y.Z string. --- libraries/AP_Common/AP_FWVersion.h | 1 + libraries/AP_Common/AP_FWVersionDefine.h | 1 - 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/libraries/AP_Common/AP_FWVersion.h b/libraries/AP_Common/AP_FWVersion.h index 95a7eb50d1..0fdc3f22ae 100644 --- a/libraries/AP_Common/AP_FWVersion.h +++ b/libraries/AP_Common/AP_FWVersion.h @@ -3,6 +3,7 @@ #include #include #include +#include class PACKED AP_FWVersion { diff --git a/libraries/AP_Common/AP_FWVersionDefine.h b/libraries/AP_Common/AP_FWVersionDefine.h index fa8755753a..481f1cbdcd 100644 --- a/libraries/AP_Common/AP_FWVersionDefine.h +++ b/libraries/AP_Common/AP_FWVersionDefine.h @@ -22,7 +22,6 @@ #include #include -#include /* allow vendors to set AP_CUSTOM_FIRMWARE_STRING in hwdef.dat