added turn off if fails after 10 tries

pull/101/head
alanbjohnston 5 years ago committed by GitHub
parent 27afcb1ba2
commit d3c1156ee0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -1464,15 +1464,17 @@ void get_tlm_fox() {
}
printf("\n");
}
}
if ((sensor_payload[0] == 'O') && (sensor_payload[1] == 'K')) {
// }
// if ((sensor_payload[0] == 'O') && (sensor_payload[1] == 'K')) {
for (count1 = 0; count1 < 17; count1++) {
if (sensor[count1] < sensor_min[count1])
sensor_min[count1] = sensor[count1];
if (sensor[count1] > sensor_max[count1])
sensor_max[count1] = sensor[count1];
// printf("Smin %f Smax %f \n", sensor_min[count1], sensor_max[count1]);
}
}
else
payload = OFF; // turn off since STEM Payload is not responding
}
}
// if (mode == FSK)

Loading…
Cancel
Save

Powered by TurnKey Linux.