mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-24 16:55:36 +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"
|
||||
|
||||
#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 shortGitRevision = __REVISION__;
|
||||
#if defined(__CONFIG_REVISION__)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue