mirror of
https://github.com/thooge/esp32-nmea2000-obp60.git
synced 2026-11-17 21:11:27 +01:00
correctly handle the version string
This commit is contained in:
1 parent
c3fbf34cc3
commit
ab44959775
1 file changed
+3
-2
+3
-2
@@ -13,11 +13,12 @@
|
||||
*/
|
||||
|
||||
#define GWSTR(x) #x
|
||||
#define GWSTRINGIFY(x) GWSTR(x)
|
||||
#ifdef GWRELEASEVERSION
|
||||
#define VERSION GWSTR(GWRELEASEVERSION)
|
||||
#define VERSION GWSTRINGIFY(GWRELEASEVERSION)
|
||||
#define LOGLEVEL GwLog::ERROR
|
||||
#elif GWDEVVERSION
|
||||
#define VERSION GWSTR(GWDEVVERSION)
|
||||
#define VERSION GWSTRINGIFY(GWDEVVERSION)
|
||||
#define LOGLEVEL GwLog::DEBUG
|
||||
#else
|
||||
#define VERSION "0.7.0"
|
||||
|
||||
Reference in new issue
Block a user