From 713c605f456049988a920c39510ac7c09b823f2e Mon Sep 17 00:00:00 2001 From: alanbjohnston Date: Fri, 18 Jun 2021 13:28:32 -0400 Subject: [PATCH] Send Max and Min every 16 packets instead of 8 for FSK --- afsk/main.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/afsk/main.c b/afsk/main.c index bb3b6591..0a3f690f 100644 --- a/afsk/main.c +++ b/afsk/main.c @@ -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++) {