Set blackbox file handler to NULL after closing file
[inav.git] / src / main / build / version.h
blob583cdd82dd82c0a05057af0284e456f85004b3ef
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 STR_HELPER(x) #x
19 #define STR(x) STR_HELPER(x)
20 #define FC_VERSION_STRING STR(FC_VERSION_MAJOR) "." STR(FC_VERSION_MINOR) "." STR(FC_VERSION_PATCH_LEVEL)
21 #ifndef FC_VERSION_TYPE
22 #define FC_VERSION_TYPE ""
23 #endif
24 #define FC_FIRMWARE_NAME "INAV"
27 #define MW_VERSION 231
29 extern const char* const compilerVersion;
30 extern const char* const targetName;
32 #define GIT_SHORT_REVISION_LENGTH 8 // lower case hexadecimal digits.
33 extern const char* const shortGitRevision;
35 #define BUILD_DATE_LENGTH 11
36 extern const char* const buildDate; // "MMM DD YYYY" MMM = Jan/Feb/...
38 #define BUILD_TIME_LENGTH 8
39 extern const char* const buildTime; // "HH:MM:SS"