Update main.c fixed writing of sim.cfg

beta-v1.3.1.1-hab
Alan Johnston 2 years ago committed by GitHub
parent 31ee958dc5
commit 91a1e3b631
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -319,7 +319,7 @@ int main(int argc, char * argv[]) {
}
*/
config_file = fopen("sim.cfg", "w");
fprintf(config_file, "%s %d %8.4f %8.4f %s %d %s %s", call, reset_count, lat_file, long_file, sim_yes, squelch, tx, rx);
fprintf(config_file, "%s %d %8.4f %8.4f %s %d %s %s %s", call, reset_count, lat_file, long_file, sim_yes, squelch, tx, rx, hab_yes);
// fprintf(config_file, "%s %d", call, reset_count);
fclose(config_file);
config_file = fopen("sim.cfg", "r");

Loading…
Cancel
Save

Powered by TurnKey Linux.