From 3cf5c7eb026b390b38ace251885a16a501fde365 Mon Sep 17 00:00:00 2001 From: "murata,katsutoshi" Date: Sat, 26 Oct 2024 11:25:32 +0900 Subject: [PATCH] Update ArduCopter/version.h I agree. Co-authored-by: Peter Barker --- ArduCopter/version.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/ArduCopter/version.h b/ArduCopter/version.h index 7bf042f9a14cc9..9ab351af80532e 100644 --- a/ArduCopter/version.h +++ b/ArduCopter/version.h @@ -15,7 +15,11 @@ #define FW_TYPE_STR "-dev" #define FW_TYPE FIRMWARE_VERSION_TYPE_DEV +#define STRINGIFY(x) #x +#define TOSTRING(x) STRINGIFY(x) #define THISFIRMWARE "ArduCopter V" TOSTRING(FW_MAJOR) "." TOSTRING(FW_MINOR) "." TOSTRING(FW_PATCH) FW_TYPE_STR +#undef STRINGIFY +#undef TOSTRING // the following line is parsed by the autotest scripts #define FIRMWARE_VERSION FW_MAJOR,FW_MINOR,FW_PATCH,FW_TYPE