Merge pull request #73 from GVardakis/fsk_bug_fix
Fix bug in FSK decoder for small length preambles
This commit is contained in:
commit
a94cf99a20
|
@ -231,7 +231,7 @@ namespace gr
|
|||
d_decoded_bits = 0;
|
||||
if(d_shifting_byte == d_preamble[d_decoded_bytes]){
|
||||
d_decoded_bytes++;
|
||||
if(d_decoded_bytes == d_search_for_sync_thrhld){
|
||||
if(d_decoded_bytes >= d_search_for_sync_thrhld){
|
||||
/* End of the preamble. It's time for the sync word */
|
||||
searching_sync_word();
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue