changed MAX MIN

pull/78/head
alanbjohnston 5 years ago committed by GitHub
parent b53d2251c7
commit f8cf009a95
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -1326,7 +1326,7 @@ else {
// printf("Smin %f Smax %f \n", sensor_min[count1], sensor_max[count1]); // printf("Smin %f Smax %f \n", sensor_min[count1], sensor_max[count1]);
} }
if (mode == FSK) { // if (mode == FSK) {
for (int count1 = 0; count1 < 8; count1++) { for (int count1 = 0; count1 < 8; count1++) {
if (voltage[count1] < voltage_min[count1]) if (voltage[count1] < voltage_min[count1])
voltage_min[count1] = voltage[count1]; voltage_min[count1] = voltage[count1];
@ -1354,7 +1354,7 @@ else {
// printf("Other min %f max %f \n", other_min[count1], other_max[count1]); // printf("Other min %f max %f \n", other_min[count1], other_max[count1]);
} }
// if (mode == FSK) { if (mode == FSK) {
if (loop % 8 == 0) { if (loop % 8 == 0) {
printf("Sending MIN frame \n"); printf("Sending MIN frame \n");
frm_type = 0x03; frm_type = 0x03;

Loading…
Cancel
Save

Powered by TurnKey Linux.