From 0fa446fe638e7e84bb0f55e24c293330a8352193 Mon Sep 17 00:00:00 2001 From: Alan Johnston Date: Tue, 28 Jan 2025 15:06:55 -0500 Subject: [PATCH] Update main.c add increment --- main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.c b/main.c index 9bbec852..9b996487 100644 --- a/main.c +++ b/main.c @@ -2307,7 +2307,7 @@ void get_tlm_fc() { source_bytes[10] = (uint8_t) rnd_float(0,255); source_bytes[50] = 0x00; // Sequence number source_bytes[51] = 0x00; - source_bytes[52] = 0xff & (unsigned long int)sequence; + source_bytes[52] = 0xff & (unsigned long int)sequence++; /**/ printf("\nsource_bytes\n"); for (int i=0; i<256; i++)