not working, set frames to 11, sleep to 20

pull/26/head
alanbjohnston 7 years ago committed by GitHub
parent bf44a25ce6
commit 363442c3e9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -116,7 +116,7 @@ int sock = 0;
void write_to_buffer(int i, int symbol, int val);
void write_wave();
#define SAMPLES (S_RATE / BIT_RATE)
#define FRAME_CNT 3// //33 // Add 3 frames to the count
#define FRAME_CNT 11// //33 // Add 3 frames to the count
//#define BUF_LEN (FRAME_CNT * (SYNC_BITS + 10 * (8 + 6 * DATA_LEN + 96)) * SAMPLES)
#define BUF_LEN (FRAME_CNT * (SYNC_BITS + 10 * (HEADER_LEN + RS_FRAMES * (RS_FRAME_LEN + PARITY_LEN))) * SAMPLES)
@ -808,7 +808,7 @@ int get_tlm_fox() {
send(sock, buffer, sizeof(buffer), 0);
}
sleep(10);
sleep(20);
return 0;
}

Loading…
Cancel
Save

Powered by TurnKey Linux.