Finally rename flight.c/.h to pid.c/.h. Cleanup some dependencies.
[betaflight.git] / src / main / version.h
blobcb3706b0c3875b455b7ff6b5874b6f8b4ec68778
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 1 // increment when a major release is made (big new feature, etc)
19 #define FC_VERSION_MINOR 7 // 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 MW_VERSION 231
24 extern char* targetName;
26 #define GIT_SHORT_REVISION_LENGTH 7 // lower case hexadecimal digits.
27 extern char* shortGitRevision;
29 #define BUILD_DATE_LENGTH 11
30 extern char* buildDate; // "MMM DD YYYY" MMM = Jan/Feb/...
32 #define BUILD_TIME_LENGTH 8
33 extern char* buildTime; // "HH:MM:SS"