mirror of
https://github.com/g4klx/ircDDBGateway.git
synced 2026-04-05 14:25:43 +00:00
Don't forget to descramble the type byte first.
This commit is contained in:
parent
852889e0ee
commit
f7fe4d6683
1 changed files with 1 additions and 1 deletions
|
|
@ -742,7 +742,7 @@ void CRepeaterHandler::processRepeater(CAMBEData& data)
|
|||
|
||||
// Check for the fast data signature
|
||||
if (!m_fastData) {
|
||||
unsigned char slowDataType = buffer[VOICE_FRAME_LENGTH_BYTES] & SLOW_DATA_TYPE_MASK;
|
||||
unsigned char slowDataType = (buffer[VOICE_FRAME_LENGTH_BYTES] ^ SCRAMBLER_BYTE1) & SLOW_DATA_TYPE_MASK;
|
||||
if (slowDataType == SLOW_DATA_TYPE_FAST_DATA1 || slowDataType == SLOW_DATA_TYPE_FAST_DATA2)
|
||||
m_fastData = true;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue