don't fill buffer if sim_mode

pull/100/head
alanbjohnston 5 years ago committed by GitHub
parent 8bacbb9215
commit 48fb347b50
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -439,7 +439,7 @@ int main(int argc, char * argv[]) {
memset(sensor, 0, sizeof(sensor));
memset(other, 0, sizeof(other));
if ((mode == FSK) || (mode == BPSK))
if (((mode == FSK) || (mode == BPSK)) && !sim_mode)
get_tlm_fox(); // fill transmit buffer with reset count 0 packets that will be ignored
firstTime = 1;

Loading…
Cancel
Save

Powered by TurnKey Linux.