From ae9258e587ff34fae16f820f0662c113192341f9 Mon Sep 17 00:00:00 2001 From: Alan Johnston Date: Mon, 20 Jan 2025 13:52:44 -0500 Subject: [PATCH] Update main.c add sequence number --- main.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/main.c b/main.c index 4b3efb95..eacd0e0f 100644 --- a/main.c +++ b/main.c @@ -2302,9 +2302,12 @@ void get_tlm_fc() { // printf("\nSYMPBLOCK = %d\n", SYMPBLOCK); memset(source_bytes, 0x00, sizeof(source_bytes)); - source_bytes[0] = 0b10000001 ; // 10100000 10000001 01000001 + source_bytes[0] = 0b10000001 ; // 10100000 10000001 01000001 10000001 source_bytes[1] = 0b10000001 ; source_bytes[10] = (uint8_t) rnd_float(0,255); + source_bytes[50] = 0xff; // Sequence number + source_bytes[51] = 0xff; + source_bytes[52] = 0xff; /**/ printf("\nsource_bytes\n"); for (int i=0; i<256; i++)