Add README file to the Nextion_ON7LDS directory

Nextion displays: Do not change colors or show TA when ScreenLayout is not ON7LDS
This commit is contained in:
ON7LDS
2017-11-14 19:46:29 +01:00
parent 3b62bd1666
commit ec19b7dfab
2 changed files with 33 additions and 2 deletions

View File

@@ -344,6 +344,8 @@ void CNextion::writeDMRTAInt(unsigned int slotNo, unsigned char* talkerAlias, c
{
char text[40U];
if (m_screenLayout<2U) return;
if (type[0]==' ') {
if (slotNo == 1U) {
sendCommand("t0.pco=33808");
@@ -421,8 +423,8 @@ void CNextion::clearDMRInt(unsigned int slotNo)
{
if (slotNo == 1U) {
sendCommand("t0.txt=\"1 Listening\"");
sendCommand("t0.pco=0");
if (m_screenLayout==2U) {
sendCommand("t0.pco=0");
sendCommand("t0.font=4");
}
sendCommand("t1.txt=\"\"");
@@ -430,8 +432,8 @@ void CNextion::clearDMRInt(unsigned int slotNo)
sendCommand("t6.txt=\"\"");
} else {
sendCommand("t2.txt=\"2 Listening\"");
sendCommand("t2.pco=0");
if (m_screenLayout==2U) {
sendCommand("t2.pco=0");
sendCommand("t2.font=4");
}
sendCommand("t3.txt=\"\"");