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:
parent
5ff2ce2575
commit
8961e1a353
@ -84,6 +84,7 @@ void ChirpChatModEncoderFT::encodeMsg(
|
||||
|
||||
if ((i % nbSymbolBits) == (nbSymbolBits - 1))
|
||||
{
|
||||
symbol = symbol ^ (symbol >> 1); // Gray code
|
||||
symbols.push_back(symbol);
|
||||
symbol = 0;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user