Update main.c don't sim payload if present

pi-sensors-auto
Alan Johnston 4 weeks ago committed by GitHub
parent 24c1287bac
commit f49d5d2735
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

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

Loading…
Cancel
Save

Powered by TurnKey Linux.