From bbe61430016230823abab099e3d371dc77bd3af1 Mon Sep 17 00:00:00 2001 From: Bryan Biedenkapp Date: Thu, 29 Jun 2023 23:06:51 -0400 Subject: [PATCH] mark a control channel as VOC when the VOC flag is in the status response; --- src/monitor/NodeStatusWnd.h | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/src/monitor/NodeStatusWnd.h b/src/monitor/NodeStatusWnd.h index 24ead7b3..9b02cfb5 100644 --- a/src/monitor/NodeStatusWnd.h +++ b/src/monitor/NodeStatusWnd.h @@ -237,13 +237,19 @@ private: bool dmrCC = rsp["dmrCC"].get(); bool p25CtrlEnable = rsp["p25CtrlEnable"].get(); bool p25CC = rsp["p25CC"].get(); + bool p25VOC = rsp["p25VOC"].get(); bool nxdnCtrlEnable = rsp["nxdnCtrlEnable"].get(); bool nxdnCC = rsp["nxdnCC"].get(); // 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