changed strcmp

pull/251/head
alanbjohnston 3 years ago committed by GitHub
parent aae04ed991
commit 69efb65d67
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -416,8 +416,9 @@ void read_config_file() {
// latitude = toAprsFormat(latitude);
// longitude = toAprsFormat(longitude);
// }
Serial.printf("sim_yes: %s", sim_yes);
if (strcmp(sim_yes, "yes") == 0) {
Serial.printf("sim_yes: %s\n", sim_yes);
char yes_string[] = "yes";
if (strcmp(sim_yes, yes_string) == 0) {
sim_mode = true;
Serial.println("Simulated telemetry mode set by config file");
}

Loading…
Cancel
Save

Powered by TurnKey Linux.