1
0
Fork 0
mirror of https://github.com/betaflight/betaflight.git synced 2025-07-24 00:35:39 +03:00

Merge pull request #3953 from mikeller/remove_duplicate_str_helper

Remove duplicate definitions of STR_HELPER and STR.
This commit is contained in:
Michael Keller 2017-08-27 00:13:36 +12:00 committed by GitHub
commit 840070b5df

View file

@ -17,13 +17,13 @@
#pragma once
#include "common/utils.h"
#define FC_FIRMWARE_NAME "Betaflight"
#define FC_VERSION_MAJOR 3 // increment when a major release is made (big new feature, etc)
#define FC_VERSION_MINOR 2 // increment when a minor release is made (small new feature, change etc)
#define FC_VERSION_PATCH_LEVEL 0 // increment when a bug is fixed
#define STR_HELPER(x) #x
#define STR(x) STR_HELPER(x)
#define FC_VERSION_STRING STR(FC_VERSION_MAJOR) "." STR(FC_VERSION_MINOR) "." STR(FC_VERSION_PATCH_LEVEL)
extern const char* const targetName;