From 533334f0cc9411a5b4afc8f40183c74fdcdbdf22 Mon Sep 17 00:00:00 2001 From: Tony Corbett G0WFV Date: Sun, 8 Jan 2017 12:38:08 +0000 Subject: [PATCH] more RSSI tweaks for LCDproc It would seem I forgot to add a clearDMR routine here too ... --- LCDproc.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/LCDproc.cpp b/LCDproc.cpp index 7c6c9fd..1b00882 100644 --- a/LCDproc.cpp +++ b/LCDproc.cpp @@ -354,8 +354,10 @@ void CLCDproc::clearDMRInt(unsigned int slotNo) if (m_duplex) { if (slotNo == 1U) socketPrintf(m_socketfd, "widget_set DMR Slot1 3 %u %u %u h 3 \"Listening\"", m_rows / 2, m_cols - 1, m_rows / 2); + socketPrintf(m_socketfd, "widget_set DMR Slot1RSSI %u %u %*.s", 1, 4, m_cols / 2, " "); else socketPrintf(m_socketfd, "widget_set DMR Slot2 3 %u %u %u h 3 \"Listening\"", m_rows / 2 + 1, m_cols - 1, m_rows / 2 + 1); + socketPrintf(m_socketfd, "widget_set DMR Slot2RSSI %u %u %*.s", (m_cols / 2) + 1, 4, m_cols / 2, " "); } else { socketPrintf(m_socketfd, "widget_set DMR Slot1 1 2 15 2 h 3 Listening"); socketPrintf(m_socketfd, "widget_set DMR Slot2 1 3 15 3 h 3 \"\"");