From c0952d73d11aa1113502dcf7c778cec2bdf62c2e Mon Sep 17 00:00:00 2001 From: Shawn Chain Date: Tue, 18 Sep 2018 21:19:50 +0800 Subject: [PATCH] Fixed the concat macro error if no GITVERSION is defined, which is introduced by my previous changes. --- SerialPort.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/SerialPort.cpp b/SerialPort.cpp index d3afef89..c0ee7789 100644 --- a/SerialPort.cpp +++ b/SerialPort.cpp @@ -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;