From fa6f42bd4cea16f36b7a488bb56987c388f534d8 Mon Sep 17 00:00:00 2001 From: phl0 Date: Tue, 12 Apr 2016 08:18:01 +0200 Subject: [PATCH] Add source identifier to Nextion displays --- Nextion.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Nextion.cpp b/Nextion.cpp index 9aa3be3..a4bd0e9 100644 --- a/Nextion.cpp +++ b/Nextion.cpp @@ -103,7 +103,7 @@ void CNextion::writeDStar(const char* my1, const char* my2, const char* your, co sendCommand("page DStar"); char text[30U]; - ::sprintf(text, "t0.txt=\"%.8s/%4.4s\"", my1, my2); + ::sprintf(text, "t0.txt=\"%s %.8s/%4.4s\"", type, my1, my2); sendCommand(text); ::sprintf(text, "t1.txt=\"%.8s\"", your);