fsk: noconfidence_bits increase to 20
... and probably should be set even higher, to allow for even longer idle-bit (stop-bit) periods.
This commit is contained in:
parent
3522182394
commit
cd6ab7f77d
@ -446,7 +446,9 @@ debug_log( "--------------------------\n");
|
|||||||
if ( confidence <= FSK_MIN_CONFIDENCE ) {
|
if ( confidence <= FSK_MIN_CONFIDENCE ) {
|
||||||
|
|
||||||
if ( carrier ) {
|
if ( carrier ) {
|
||||||
if ( ++noconfidence > 3 ) // FIXME: explain
|
// FIXME: explain
|
||||||
|
#define FSK_MAX_NOCONFIDENCE_BITS 20
|
||||||
|
if ( ++noconfidence > FSK_MAX_NOCONFIDENCE_BITS )
|
||||||
{
|
{
|
||||||
fprintf(stderr, "### NOCARRIER nbytes=%u confidence=%f ###\n",
|
fprintf(stderr, "### NOCARRIER nbytes=%u confidence=%f ###\n",
|
||||||
nframes_decoded, confidence_total / nframes_decoded );
|
nframes_decoded, confidence_total / nframes_decoded );
|
||||||
|
Loading…
x
Reference in New Issue
Block a user