kopia lustrzana https://gitlab.com/eliggett/wfview
Fix for crash when remote requests tone.
rodzic
00e7c0aed8
commit
c7c4a326da
|
@ -840,6 +840,9 @@ quint16 rigCommander::decodeTone(QByteArray eTone, bool &tinv, bool &rinv)
|
|||
// CTCSS: 1B 01 00 12 73 = PL 127.3, decode as 1273
|
||||
// D(T)CS: 1B 01 TR 01 23 = T/R Invert bits + DCS code 123
|
||||
|
||||
if (eTone.length() < 5) {
|
||||
return 0;
|
||||
}
|
||||
tinv = false; rinv = false;
|
||||
quint16 result = 0;
|
||||
|
||||
|
|
Ładowanie…
Reference in New Issue