1
0
mirror of https://github.com/thooge/esp32-nmea2000-obp60.git synced 2025-12-13 05:53:06 +01:00

better handling for ifdefs

This commit is contained in:
andreas
2021-11-08 20:40:37 +01:00
parent 7c68747bd2
commit 7e348431b0
3 changed files with 11 additions and 9 deletions

View File

@@ -17,10 +17,12 @@
#ifdef GWRELEASEVERSION
#define VERSION GWSTRINGIFY(GWRELEASEVERSION)
#define LOGLEVEL GwLog::ERROR
#elif GWDEVVERSION
#endif
#ifdef GWDEVVERSION
#define VERSION GWSTRINGIFY(GWDEVVERSION)
#define LOGLEVEL GwLog::DEBUG
#else
#endif
#ifndef VERSION
#define VERSION "0.7.0"
#define LOGLEVEL GwLog::DEBUG
#endif