Update main.c if payload failure, no sim payload telemetry

pull/392/head
Alan Johnston 4 months ago committed by GitHub
parent 55174c641f
commit 45fd4ad899
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -744,7 +744,7 @@ int main(int argc, char * argv[]) {
newGpsTime = millis();
}
if (sim_mode) {
if (sim_mode && (failureMode != FAIL_PAYLOAD)) {
if (atmosphere == 0) {
sensor[PRES] = 0;
strcpy(sensor_string[PRES], "0.0");

Loading…
Cancel
Save

Powered by TurnKey Linux.