mirror of
https://github.com/f4exb/sdrangel.git
synced 2025-08-02 14:02:27 -04:00
Fix for Qt6
This commit is contained in:
parent
6e514435ac
commit
dc40fac021
@ -302,7 +302,7 @@ void PSK31Encoder::addCode(unsigned& bits, unsigned int& bitCount, const QString
|
|||||||
unsigned int codeLen = code.size();
|
unsigned int codeLen = code.size();
|
||||||
|
|
||||||
for (unsigned int i = 0; i < codeLen; i++) {
|
for (unsigned int i = 0; i < codeLen; i++) {
|
||||||
codeBits |= (code[i] == "1" ? 1 : 0) << i;
|
codeBits |= (code[i] == '1' ? 1 : 0) << i;
|
||||||
}
|
}
|
||||||
|
|
||||||
addStartBits(bits, bitCount);
|
addStartBits(bits, bitCount);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user