Remove duplicate definitions of STR_HELPER and STR.

This commit is contained in:
Michael Keller 2017-08-25 20:55:45 +12:00
parent 2f0a678cbe
commit 8b9713e914
1 changed files with 2 additions and 2 deletions

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)
#define MW_VERSION 231