fixed location of else

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

@ -1464,8 +1464,10 @@ void get_tlm_fox() {
}
printf("\n");
}
// }
// if ((sensor_payload[0] == 'O') && (sensor_payload[1] == 'K')) {
else
payload = OFF; // turn off since STEM Payload is not responding
}
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];
@ -1473,8 +1475,6 @@ void get_tlm_fox() {
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.