Update main.c add sequence number

fc-a
Alan Johnston 11 months ago committed by GitHub
parent d4161f28d4
commit 094af3c1a3
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -2305,9 +2305,9 @@ void get_tlm_fc() {
source_bytes[0] = 0b00000001 ; // 10100000 10000001 01000001 10000001 10000001
source_bytes[1] = 0b10000010 ;
source_bytes[10] = (uint8_t) rnd_float(0,255);
source_bytes[50] = 0xff; // Sequence number
source_bytes[51] = 0xff;
source_bytes[52] = 0xff;
source_bytes[50] = 0x00; // Sequence number
source_bytes[51] = 0x00;
source_bytes[52] = 0xff & (unsigned long int)sequence;
/**/
printf("\nsource_bytes\n");
for (int i=0; i<256; i++)

Loading…
Cancel
Save

Powered by TurnKey Linux.