Skip to content

Commit

Permalink
Update ArduCopter/version.h
Browse files Browse the repository at this point in the history
I agree.

Co-authored-by: Peter Barker <pb-gh@barker.dropbear.id.au>
  • Loading branch information
muramura and peterbarker authored Oct 26, 2024
1 parent 52f0b79 commit 3cf5c7e
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions ArduCopter/version.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 3cf5c7e

Please sign in to comment.