Update main.c add sequence number

fc-jy-1
Alan Johnston 11 months ago committed by GitHub
parent 969482330b
commit ae9258e587
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

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

Loading…
Cancel
Save

Powered by TurnKey Linux.