Update main.c fix frame

fc-jy-2-step
Alan Johnston 11 months ago committed by GitHub
parent edfe69be92
commit 28af5c9ac9
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -2314,12 +2314,12 @@ void get_tlm_fc() { // FunCube Mode telemetry generation
source_bytes[0] = 0b00000001 ; // Sat Id is FunCube-EM
#endif
#ifdef JY_1
source_bytes[0] = 0b11000001 ; // Sat Id is extended
// source_bytes[0] = 0b11000001 ; // Sat Id is extended
source_bytes[0] = 0b11000000 ; // Sat Id is extended
// source_bytes[1] = 0x08 ; // extended Nayify - works per code
loop_count++;
uint8_t frame = loop_count % 5;
uint8_t frame = loop_count / 5;
printf("frame: %x\n", frame);
if (loop_count > 10)
source_bytes[0] = source_bytes[0] | frame;
source_bytes[1] = 0x10 ; // extended JY-1 - works, no documentation
int extended = 1;

Loading…
Cancel
Save

Powered by TurnKey Linux.