Wrong comparison corrected
This commit is contained in:
parent
6fccc3af74
commit
ab8dbadef5
1 changed files with 1 additions and 1 deletions
|
@ -112,7 +112,7 @@ void CNextion::writeDStar(const char* my1, const char* my2, const char* your, co
|
||||||
if (strcmp(m_size.c_str(), "2.4") == 0) {
|
if (strcmp(m_size.c_str(), "2.4") == 0) {
|
||||||
::sprintf(text, "t1.txt=\"%.8s\"", your);
|
::sprintf(text, "t1.txt=\"%.8s\"", your);
|
||||||
sendCommand(text);
|
sendCommand(text);
|
||||||
if (strcmp(reflector, " ") == 0) {
|
if (strcmp(reflector, " ") != 0) {
|
||||||
::sprintf(text, "t2.txt=\"via %.8s\"", reflector);
|
::sprintf(text, "t2.txt=\"via %.8s\"", reflector);
|
||||||
sendCommand(text);
|
sendCommand(text);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue