New debugging format DEBUG_FORMAT_CONFIDENCE for debugging fsk_demod.c
This commit is contained in:
parent
ada97c4655
commit
c0db7e9bed
|
@ -11,3 +11,4 @@
|
|||
#define DEBUG_FORMAT_SIGNED16BIT 0
|
||||
#define DEBUG_FORMAT_16BIT_HEX 1
|
||||
#define DEBUG_FORMAT_PACKED_BINARY 2
|
||||
#define DEBUG_FORMAT_CONFIDENCE 3
|
||||
|
|
|
@ -109,6 +109,10 @@
|
|||
mask <<= 1;
|
||||
}
|
||||
break;
|
||||
case DEBUG_FORMAT_CONFIDENCE:
|
||||
fprintf(file,"%d\n",u8[0]?u8[1]:-u8[1]);
|
||||
u8 += 2;
|
||||
break;
|
||||
default:
|
||||
fprintf(stderr,"Bad DEBUG_FORMAT_*\n");
|
||||
exit(1);
|
||||
|
|
Loading…
Reference in New Issue