From e915e9b4fc6fb69e3dcf980008ebbb040c5284ef Mon Sep 17 00:00:00 2001 From: Alan Johnston Date: Sun, 2 Feb 2025 12:36:43 -0500 Subject: [PATCH] Update main.c step through frame types --- main.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/main.c b/main.c index a66e0682..b36bd1a4 100644 --- a/main.c +++ b/main.c @@ -2312,6 +2312,10 @@ void get_tlm_fc() { // FunCube Mode telemetry generation memset(source_bytes, 0x00, sizeof(source_bytes)); #ifdef FC_EM source_bytes[0] = 0b00000001 ; // Sat Id is FunCube-EM + loop_count++; + uint8_t frame = loop_count % 5; + if (loop_count > 10) + source_bytes[0] = source_bytes[0] | frame; #endif #ifdef JY_1 source_bytes[0] = 0b11000001 ; // Sat Id is extended