From e9891db3024a248eed191dc6730ec68f0b6963b5 Mon Sep 17 00:00:00 2001 From: Alan Johnston Date: Sun, 2 Feb 2025 12:45:03 -0500 Subject: [PATCH] Update main.c increment frame --- main.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/main.c b/main.c index 85c0f531..83fa4d47 100644 --- a/main.c +++ b/main.c @@ -2312,15 +2312,15 @@ 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 +#endif +#ifdef JY_1 + source_bytes[0] = 0b11000001 ; // Sat Id is extended +// source_bytes[1] = 0x08 ; // extended Nayify - works per code loop_count++; uint8_t frame = loop_count % 5; print ("frame: %x\n", frame); if (loop_count > 10) source_bytes[0] = source_bytes[0] | frame; -#endif -#ifdef JY_1 - source_bytes[0] = 0b11000001 ; // Sat Id is extended -// source_bytes[1] = 0x08 ; // extended Nayify - works per code source_bytes[1] = 0x10 ; // extended JY-1 - works, no documentation int extended = 1; #endif