used strcmp

pull/87/head
alanbjohnston 5 years ago committed by GitHub
parent 503e91c7f3
commit 2512a1259f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -214,7 +214,7 @@ int main(int argc, char * argv[]) {
latitude = lat_file;
longitude = long_file;
}
if (*sim_yes[0] == "y")
if (strcmp(sim_yes, "yes") == 0)
sim_mode = TRUE;
wiringPiSetup();

Loading…
Cancel
Save

Powered by TurnKey Linux.