mirror of https://github.com/g4klx/MMDVM.git
Added compilation timestamp to hardware description varible sent in ::getVersion()
This commit is contained in:
parent
80d659d7d0
commit
917b303a0f
|
@ -72,10 +72,12 @@ const uint8_t MMDVM_DEBUG5 = 0xF5U;
|
||||||
|
|
||||||
|
|
||||||
#if defined(EXTERNAL_OSC)
|
#if defined(EXTERNAL_OSC)
|
||||||
const uint8_t HARDWARE[] = "MMDVM 20170303 TCXO (D-Star/DMR/System Fusion/P25/RSSI/CW Id)";
|
#define DESCRIPTION "MMDVM 20170303 TCXO (D-Star/DMR/System Fusion/P25/RSSI/CW Id)"
|
||||||
#else
|
#else
|
||||||
const uint8_t HARDWARE[] = "MMDVM 20170303 (D-Star/DMR/System Fusion/P25/RSSI/CW Id)";
|
#define DESCRIPTION "MMDVM 20170303 (D-Star/DMR/System Fusion/P25/RSSI/CW Id)"
|
||||||
#endif
|
#endif
|
||||||
|
#define concat(a, b, c) a " (Build: " b " " c ")"
|
||||||
|
const char HARDWARE[] = concat(DESCRIPTION, __TIME__, __DATE__);
|
||||||
|
|
||||||
const uint8_t PROTOCOL_VERSION = 1U;
|
const uint8_t PROTOCOL_VERSION = 1U;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue