From a506fcc0aa5668d41667b985aa4655541a42a4c9 Mon Sep 17 00:00:00 2001 From: Ryo Suzumoto Date: Tue, 13 Feb 2024 17:24:44 +0900 Subject: [PATCH] support c2a-core v4.4.0 --- .../real/communication/wings_command_sender_to_c2a.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/components/real/communication/wings_command_sender_to_c2a.cpp b/src/components/real/communication/wings_command_sender_to_c2a.cpp index 2bb94ec0f..c61a252d3 100644 --- a/src/components/real/communication/wings_command_sender_to_c2a.cpp +++ b/src/components/real/communication/wings_command_sender_to_c2a.cpp @@ -17,7 +17,11 @@ #warning "C2A_CORE_VER_MAJOR is not defined" # this flag is defined after c2a-core v3.5.0 #elif C2A_CORE_VER_MAJOR == 4 // c2a-core v4 +#if C2A_CORE_VER_MINOR <= 3 #include "src_core/tlm_cmd/common_cmd_packet_util.h" +#else +#include "src_core/tlm_cmd/common_packet/common_cmd_packet_util.h" +#endif #elif C2A_CORE_VER_MAJOR <= 3 // c2a-core <= v3 #include "src_core/TlmCmd/common_cmd_packet_util.h"