Bump version to 2.3.0
[betaflight.git] / src / main / version.h
blob7727aff2895405c9463bb732db5da09e1a9bf2cb
1 /*
2 * This file is part of Cleanflight.
4 * Cleanflight is free software: you can redistribute it and/or modify
5 * it under the terms of the GNU General Public License as published by
6 * the Free Software Foundation, either version 3 of the License, or
7 * (at your option) any later version.
9 * Cleanflight is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 * GNU General Public License for more details.
14 * You should have received a copy of the GNU General Public License
15 * along with Cleanflight. If not, see <http://www.gnu.org/licenses/>.
18 #define FC_VERSION_MAJOR 2 // increment when a major release is made (big new feature, etc)
19 #define FC_VERSION_MINOR 3 // increment when a minor release is made (small new feature, change etc)
20 #define FC_VERSION_PATCH_LEVEL 0 // increment when a bug is fixed
22 #define STR_HELPER(x) #x
23 #define STR(x) STR_HELPER(x)
24 #define FC_VERSION_STRING STR(FC_VERSION_MAJOR) "." STR(FC_VERSION_MINOR) "." STR(FC_VERSION_PATCH_LEVEL)
26 #define MW_VERSION 231
28 extern const char* const targetName;
30 #define GIT_SHORT_REVISION_LENGTH 7 // lower case hexadecimal digits.
31 extern const char* const shortGitRevision;
33 #define BUILD_DATE_LENGTH 11
34 extern const char* const buildDate; // "MMM DD YYYY" MMM = Jan/Feb/...
36 #define BUILD_TIME_LENGTH 8
37 extern const char* const buildTime; // "HH:MM:SS"