max for times of sending, 4 for BPSK, 6 for FSK

pull/105/head
alanbjohnston 5 years ago committed by GitHub
parent 1639ee7ad5
commit e33b160d7e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -2205,7 +2205,13 @@ void get_tlm_fox() {
// if ((mode == BPSK) && (firstTime == 1)) // only do first time
if (firstTime == 1) // only do first time
{
for (int times = 0; times < 4; times++) // FSK 4 worked, trying 6 for BPSK
int max;
if (mode == FSK)
max = 6;
else
mex = 4;
for (int times = 0; times < max; times++)
{
start = millis(); // send frame until buffer fills
sock_ret = send(sock, buffer, (unsigned int)(ctr * 2 + 2), 0);

Loading…
Cancel
Save

Powered by TurnKey Linux.