1
0
Fork 0

Merge pull request #174 from AndyTaylorTweet/master

Update YSFGateway.cpp
ycs232-kbc
Jonathan Naylor 4 years ago committed by GitHub
commit 668cde4b87
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -676,7 +676,8 @@ void CYSFGateway::processDTMF(unsigned char* buffer, unsigned char dt)
} else if (raw.length() == 3U) { } else if (raw.length() == 3U) {
id += raw; id += raw;
} else if (raw.length() == 5U) { } else if (raw.length() == 5U) {
idShort += raw; id = idShort;
id += raw;
} else { } else {
LogWarning("Nonsense from the DTMF decoder - \"%s\"", raw.c_str()); LogWarning("Nonsense from the DTMF decoder - \"%s\"", raw.c_str());
return; return;
@ -907,7 +908,8 @@ void CYSFGateway::processRemoteCommands()
if (raw.length() == 3U) { if (raw.length() == 3U) {
id += raw; id += raw;
} else if (raw.length() == 5U) { } else if (raw.length() == 5U) {
idShort += raw; id = idShort;
id += raw;
} else { } else {
LogWarning("Invalid FCS reflector id - \"%s\"", raw.c_str()); LogWarning("Invalid FCS reflector id - \"%s\"", raw.c_str());
return; return;

Loading…
Cancel
Save