m17-decoder-sym: fix issue where stale scrambler bytes are applied to signature frames at EOT;

pull/42/head
lwvmobile 2025-01-16 08:37:37 -05:00
rodzic ef0cd6325f
commit b586b1fe50
1 zmienionych plików z 1 dodań i 0 usunięć

Wyświetl plik

@ -572,6 +572,7 @@ int main(int argc, char* argv[])
scrambler_sequence_generator();
else if(!signed_str) //non-signed stream
scrambler_sequence_generator();
else memset(scr_bytes, 0, sizeof(scr_bytes)); //zero out stale scrambler bytes so they aren't applied to the sig frames
for(uint8_t i=0; i<16; i++)
{