add DEBUG_NO_G3_SUPPORT (at main.h)

To disable ICOM G3 support function for testing, add new definition.
pull/189/head
SASANO Takayoshi 5 years ago
parent 6c2e2d32ba
commit f9456bcf58

@ -49,6 +49,12 @@ bool CG3Protocol::Init(void)
// base class
ok = CProtocol::Init();
#ifdef DEBUG_NO_G3_SUPPORT
// G3 support can be killed (currently for test purpose)
m_bStopThread = true;
return true;
#endif
// update reflector callsign
m_ReflectorCallsign.PatchCallsign(0, (const uint8 *)"XLX", 3);

@ -64,6 +64,7 @@
//#define DEBUG_NO_ERROR_ON_XML_OPEN_FAIL
//#define DEBUG_DUMPFILE
//#define DEBUG_NO_G3_ICMP_SOCKET
//#define DEBUG_NO_G3_SUPPORT
// reflector ---------------------------------------------------

Loading…
Cancel
Save

Powered by TurnKey Linux.