diff --git a/plugins/channeltx/modchirpchat/chirpchatmodencoderft.cpp b/plugins/channeltx/modchirpchat/chirpchatmodencoderft.cpp index 8e50699da..b36511add 100644 --- a/plugins/channeltx/modchirpchat/chirpchatmodencoderft.cpp +++ b/plugins/channeltx/modchirpchat/chirpchatmodencoderft.cpp @@ -84,6 +84,7 @@ void ChirpChatModEncoderFT::encodeMsg( if ((i % nbSymbolBits) == (nbSymbolBits - 1)) { + symbol = symbol ^ (symbol >> 1); // Gray code symbols.push_back(symbol); symbol = 0; }