Skip to content

Commit

Permalink
CxVersion: move include file to AP_FWVersion.h
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
robertlong13 authored and loki077 committed Sep 11, 2024
1 parent 5d694e3 commit 88598ed
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
1 change: 1 addition & 0 deletions libraries/AP_Common/AP_FWVersion.h
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
#include <stdint.h>
#include <AP_Common/AP_Common.h>
#include <AP_HAL/AP_HAL_Boards.h>
#include <AP_Common/CxVersion.h>

class PACKED AP_FWVersion {

Expand Down
1 change: 0 additions & 1 deletion libraries/AP_Common/AP_FWVersionDefine.h
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@

#include <AP_Common/AP_FWVersion.h>
#include <AP_Vehicle/AP_Vehicle_Type.h>
#include <AP_Common/CxVersion.h>

/*
allow vendors to set AP_CUSTOM_FIRMWARE_STRING in hwdef.dat
Expand Down

0 comments on commit 88598ed

Please sign in to comment.