Update main.c step through frame types

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

@ -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

Loading…
Cancel
Save

Powered by TurnKey Linux.