Update main.c print BLOCKSIZE

fc-3
Alan Johnston 11 months ago committed by GitHub
parent 1d2e3a067a
commit 74eb0ad2f5
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -2295,6 +2295,8 @@ void get_tlm_fc() {
/* write telemetry into data buffer */
printf("\nBLOCKSIZE = %d\n", BLOCKSIZE);
memset(source_bytes, 0x00, sizeof(source_bytes));
source_bytes[10] = (uint8_t) rnd_float(0,255);
@ -2344,8 +2346,8 @@ void get_tlm_fc() {
int bit = syncBits - i / samples + 1;
val = syncWord;
data = val & 1 << (bit - 1);
printf ("%d i: %d sync bit %d = %d \n",
ctr, i, bit, (data > 0) );
// printf ("%d i: %d sync bit %d = %d \n",
// ctr, i, bit, (data > 0) );
if (data == 0) {
phase *= -1;

Loading…
Cancel
Save

Powered by TurnKey Linux.