mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-25 17:25:20 +03:00
Print version upon compiling
This commit is contained in:
parent
90bd368a36
commit
7ff3993ebd
1 changed files with 7 additions and 0 deletions
|
@ -22,6 +22,13 @@
|
||||||
|
|
||||||
#include "version.h"
|
#include "version.h"
|
||||||
|
|
||||||
|
#ifndef FC_VERSION_STRING_PRINTED
|
||||||
|
#define FC_VERSION_STRING_PRINTED
|
||||||
|
|
||||||
|
#pragma message "FC_VERSION_STRING: " FC_VERSION_STRING
|
||||||
|
|
||||||
|
#endif
|
||||||
|
|
||||||
const char * const targetName = __TARGET__;
|
const char * const targetName = __TARGET__;
|
||||||
const char * const shortGitRevision = __REVISION__;
|
const char * const shortGitRevision = __REVISION__;
|
||||||
#if defined(__CONFIG_REVISION__)
|
#if defined(__CONFIG_REVISION__)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue