Update main.c try calling get_tlm_fox multiple times at start

master-psag-fm-only-fsk
Alan Johnston 2 weeks ago committed by GitHub
parent fe68660936
commit 44084c33da
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -543,10 +543,19 @@ int main(int argc, char * argv[]) {
memset(voltage, 0, sizeof(voltage));
memset(current, 0, sizeof(current));
memset(sensor, 0, sizeof(sensor));
memset(other, 0, sizeof(other));
memset(other, 0, sizeof(other));
if (((mode == FSK) || (mode == BPSK))) // && !sim_mode)
// if (((mode == FSK) || (mode == BPSK))) // && !sim_mode)
if (mode == FSK) { // && !sim_mode)
get_tlm_fox();
get_tlm_fox();
}
if (mode == BPSK) { // && !sim_mode)
get_tlm_fox(); // fill transmit buffer with reset count 0 packets that will be ignored
get_tlm_fox();
get_tlm_fox();
get_tlm_fox();
}
else if (((mode == FC))) // && !sim_mode)
get_tlm_fc(); // fill transmit buffer with reset count 0 packets that will be ignored
else if (((mode == AFSK) || (mode == CW)))

Loading…
Cancel
Save

Powered by TurnKey Linux.