From d495acb5be6a18404412decf08ef9b4b06d5307f Mon Sep 17 00:00:00 2001 From: phl0 Date: Fri, 8 Apr 2016 08:43:05 +0200 Subject: [PATCH] Corrected array length --- Nextion.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Nextion.cpp b/Nextion.cpp index f010cb7..ab5b869 100644 --- a/Nextion.cpp +++ b/Nextion.cpp @@ -59,7 +59,7 @@ void CNextion::setIdle() { sendCommand("page MMDVM"); - char command[20]; + char command[30]; ::sprintf(command, "t0.txt=\"%-6s / %u\"", m_callsign, m_dmrid); sendCommand(command);