From 7089107b28fa018f1257e4a9ce03ff15290e5a78 Mon Sep 17 00:00:00 2001 From: Andy CA6JAU Date: Sun, 19 Mar 2017 09:32:33 -0300 Subject: [PATCH] =?UTF-8?q?Adding=20George=20Smart=E2=80=99s=20timestamp?= =?UTF-8?q?=20to=20hardware=20description?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- SerialPort.cpp | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/SerialPort.cpp b/SerialPort.cpp index b015f16..79f44ed 100644 --- a/SerialPort.cpp +++ b/SerialPort.cpp @@ -68,11 +68,13 @@ const uint8_t MMDVM_DEBUG3 = 0xF3U; const uint8_t MMDVM_DEBUG4 = 0xF4U; const uint8_t MMDVM_DEBUG5 = 0xF5U; -const uint8_t HARDWARE[] = "MMDVM-HS 20170210 (D-Star/DMR/YSF/P25)"; +#define DESCRIPTION "MMDVM-HS 20170319 (D-Star/DMR/YSF/P25)" +#define concat(a, b, c) a " (Build: " b " " c ")" +const char HARDWARE[] = concat(DESCRIPTION, __TIME__, __DATE__); + const uint8_t PROTOCOL_VERSION = 1U; - CSerialPort::CSerialPort() : m_buffer(), m_ptr(0U),