mark a control channel as VOC when the VOC flag is in the status response;

pull/33/head
Bryan Biedenkapp 3 years ago
parent 8f7763cac4
commit bbe6143001

@ -237,13 +237,19 @@ private:
bool dmrCC = rsp["dmrCC"].get<bool>();
bool p25CtrlEnable = rsp["p25CtrlEnable"].get<bool>();
bool p25CC = rsp["p25CC"].get<bool>();
bool p25VOC = rsp["p25VOC"].get<bool>();
bool nxdnCtrlEnable = rsp["nxdnCtrlEnable"].get<bool>();
bool nxdnCC = rsp["nxdnCC"].get<bool>();
// are we a dedicated control channel?
if (dmrCC || p25CC || nxdnCC) {
m_control = true;
setText("CONTROL");
if (p25CC && p25VOC) {
setText("CONTROL (VOC)");
}
else {
setText("CONTROL");
}
}
// if we aren't a dedicated control channel; set our

Loading…
Cancel
Save

Powered by TurnKey Linux.