mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-03 06:28:27 -04:00
fea084a596
This header is used by waf to contain the generated version macros, particularly using the git hash. For waf it's better to be in a separate header since it then can keep track of changes on it a trigger recompilation. For the make build system, a dummy ap_version.h file has been added in the missing/ folder so both implementations can co-exist.
13 lines
268 B
C
13 lines
268 B
C
#pragma once
|
|
|
|
#include "ap_version.h"
|
|
|
|
#define THISFIRMWARE "APM:Copter V3.4-dev"
|
|
#define FIRMWARE_VERSION 3,4,0,FIRMWARE_VERSION_TYPE_DEV
|
|
|
|
#ifndef GIT_VERSION
|
|
#define FIRMWARE_STRING THISFIRMWARE
|
|
#else
|
|
#define FIRMWARE_STRING THISFIRMWARE " (" GIT_VERSION ")"
|
|
#endif
|