Send Max and Min every 16 packets instead of 8 for FSK

pull/105/head
alanbjohnston 5 years ago committed by GitHub
parent 932d803da7
commit 713c605f45
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -1676,7 +1676,7 @@ void get_tlm_fox() {
}
if (mode == FSK)
{
if (loop % 8 == 0) {
if (loop % 16 == 0) { // was 8
printf("Sending MIN frame \n");
frm_type = 0x03;
for (int count1 = 0; count1 < 17; count1++) {
@ -1690,7 +1690,7 @@ void get_tlm_fox() {
sensor[count1] = sensor_min[count1];
}
}
if ((loop + 4) % 8 == 0) {
if ((loop + 8) % 16 == 0) { // was 8
printf("Sending MAX frame \n");
frm_type = 0x02;
for (int count1 = 0; count1 < 17; count1++) {

Loading…
Cancel
Save

Powered by TurnKey Linux.