Skip to content

Commit

Permalink
Merge pull request #195 from shawnchain/master
Browse files Browse the repository at this point in the history
Fixed the concat macro error if no GITVERSION is defined, which is in…
  • Loading branch information
phl0 committed Sep 18, 2018
2 parents 4d78038 + c0952d7 commit 6563ee2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion SerialPort.cpp
Expand Up @@ -103,7 +103,7 @@ const uint8_t MMDVM_DEBUG5 = 0xF5U;
const char HARDWARE[] = concat(HW_TYPE, DESCRIPTION, TCXO, GITVERSION);
#else
#define concat(h, a, b, c, d) h " " a " " b " (Build: " c " " d ")"
const char HARDWARE[] = concat(DESCRIPTION, TCXO, __TIME__, __DATE__);
const char HARDWARE[] = concat(HW_TYPE, DESCRIPTION, TCXO, __TIME__, __DATE__);
#endif

const uint8_t PROTOCOL_VERSION = 1U;
Expand Down

0 comments on commit 6563ee2

Please sign in to comment.