max min to 32

pull/106/head
alanbjohnston 5 years ago committed by GitHub
parent 6377e56925
commit 1812a43cba
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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

Loading…
Cancel
Save

Powered by TurnKey Linux.