mirror of
https://github.com/thooge/esp32-nmea2000-obp60.git
synced 2025-12-13 05:53:06 +01:00
correctly handle the version string
This commit is contained in:
@@ -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