Skip to content
Snippets Groups Projects
Commit bccc0f9c authored by rswindell's avatar rswindell
Browse files

Allow the com hangup (drop DTR) option to be controlled in the .ini file

parent 4060f5e6
Branches
Tags
No related merge requests found
......@@ -709,7 +709,8 @@ void parse_ini_file(const char* ini_fname)
iniReadString(fp, "COM", "ModemInit", "AT&F", mdm_init);
iniReadString(fp, "COM", "ModemAutoAnswer", "ATS0=1", mdm_autoans);
iniReadString(fp, "COM", "ModemCleanup", "ATS0=0", mdm_cleanup);
mdm_null = iniReadBool(fp, "COM", "NullModem", mdm_null);
com_hangup = iniReadBool(fp, "COM", "Hangup", com_hangup);
mdm_null = iniReadBool(fp, "COM", "NullModem", mdm_null);
mdm_timeout = iniReadInteger(fp, "COM", "ModemTimeout", mdm_timeout);
dcd_timeout = iniReadInteger(fp, "COM", "DCDTimeout", dcd_timeout);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment