From 44084c33dac4e48f39dfc5df4e25409d0126c98d Mon Sep 17 00:00:00 2001 From: Alan Johnston Date: Fri, 23 Jan 2026 10:15:14 -0500 Subject: [PATCH] Update main.c try calling get_tlm_fox multiple times at start --- main.c | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/main.c b/main.c index 23ad9ed7..8d2e12a1 100644 --- a/main.c +++ b/main.c @@ -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)))