1
0
mirror of https://github.com/f4exb/sdrangel.git synced 2024-12-23 01:55:48 -05:00

ChirpChat modulator: implemented Gray coding for FT

This commit is contained in:
f4exb 2024-04-06 10:51:10 +02:00
parent 5ff2ce2575
commit 8961e1a353

View File

@ -84,6 +84,7 @@ void ChirpChatModEncoderFT::encodeMsg(
if ((i % nbSymbolBits) == (nbSymbolBits - 1))
{
symbol = symbol ^ (symbol >> 1); // Gray code
symbols.push_back(symbol);
symbol = 0;
}