mirror of
https://github.com/n5ac/smartsdr-dsp.git
synced 2026-04-21 06:03:49 +00:00
Reset message index if we decode gets off
This commit is contained in:
parent
62abf0058c
commit
6c82100170
1 changed files with 2 additions and 2 deletions
|
|
@ -258,8 +258,8 @@ void slow_data_addDecodeData(DSTAR_MACHINE dstar, unsigned char * data, uint32 d
|
|||
uint32 message_index = data[0] & SLOW_DATA_LENGTH_MASK;
|
||||
|
||||
if ( message_index != slow_decoder->message_index ) {
|
||||
output("Out of order SLOW DATA MESSAGE SKIPPING\n");
|
||||
slow_decoder->message_index = 0;
|
||||
output("Out of order SLOW DATA MESSAGE setting to new index\n");
|
||||
slow_decoder->message_index = message_index;
|
||||
break;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue