TMXR: Reject serial port attach config for programmaticly configured mux
This commit is contained in:
parent
dd92be296c
commit
dbc0ea4114
1 changed files with 2 additions and 2 deletions
|
@ -3086,8 +3086,8 @@ while (*tptr) {
|
|||
serport = sim_open_serial (destination, NULL, &r);
|
||||
if (serport != INVALID_HANDLE) {
|
||||
sim_close_serial (serport);
|
||||
if (strchr (destination, ';') && mp->modem_control && !(sim_switches & SIM_SW_REST))
|
||||
return sim_messagef (SCPE_ARG, "Serial line parameters must be set within simulated OS: %s\n", 1 + strchr (destination, ';'));
|
||||
if (strchr (destination, ';') && (mp->modem_control || mp->port_speed_control) && !(sim_switches & SIM_SW_REST))
|
||||
return sim_messagef (SCPE_ARG, "%sSerial line parameters can only be set within simulated OS: %s\n", dev_name, 1 + strchr (destination, ';'));
|
||||
}
|
||||
else {
|
||||
char *eptr;
|
||||
|
|
Loading…
Add table
Reference in a new issue