From 5039b42027052f6525de265afd37347242b11ec6 Mon Sep 17 00:00:00 2001 From: phl0 Date: Thu, 15 Sep 2016 16:27:06 +0200 Subject: [PATCH] Just replace the one text area --- Nextion.cpp | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/Nextion.cpp b/Nextion.cpp index 09ca7f4..925dd5a 100644 --- a/Nextion.cpp +++ b/Nextion.cpp @@ -237,9 +237,6 @@ void CNextion::writeCWInt() { char command[30]; - ::sprintf(command, "t0.txt=\"%-6s / %u\"", m_callsign.c_str(), m_dmrid); - - sendCommand(command); sendCommand("t1.txt=\"Sending CW Ident\""); m_clockDisplayTimer.stop(); @@ -249,7 +246,7 @@ void CNextion::writeCWInt() void CNextion::clearCWInt() { - setIdleInt(); + sendCommand("t1.txt=\"MMDVM IDLE\""); } void CNextion::clockInt(unsigned int ms)