From 92cf3ed203065c4e5806bc1d8aceac8f68b11c49 Mon Sep 17 00:00:00 2001 From: Jonathan Naylor Date: Mon, 23 May 2016 18:04:17 +0100 Subject: [PATCH] Change via to at for YSF displays. --- Nextion.cpp | 2 +- TFTSerial.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Nextion.cpp b/Nextion.cpp index 1239689..5f0d8e0 100644 --- a/Nextion.cpp +++ b/Nextion.cpp @@ -198,7 +198,7 @@ void CNextion::writeFusionInt(const char* source, const char* dest, const char* ::sprintf(text, "t1.txt=\"%.10s\"", dest); sendCommand(text); if (::strcmp(origin, " ") != 0) { - ::sprintf(text, "t2.txt=\"via %.10s\"", origin); + ::sprintf(text, "t2.txt=\"at %.10s\"", origin); sendCommand(text); } diff --git a/TFTSerial.cpp b/TFTSerial.cpp index 92e1f47..8a0dc9d 100644 --- a/TFTSerial.cpp +++ b/TFTSerial.cpp @@ -288,7 +288,7 @@ void CTFTSerial::writeFusionInt(const char* source, const char* dest, const char displayText(text); if (::strcmp(origin, " ") != 0) { - ::sprintf(text, "via %.10s", origin); + ::sprintf(text, "at %.10s", origin); gotoPosPixel(5U, 110U); displayText(text); } else {