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);
|
serport = sim_open_serial (destination, NULL, &r);
|
||||||
if (serport != INVALID_HANDLE) {
|
if (serport != INVALID_HANDLE) {
|
||||||
sim_close_serial (serport);
|
sim_close_serial (serport);
|
||||||
if (strchr (destination, ';') && mp->modem_control && !(sim_switches & SIM_SW_REST))
|
if (strchr (destination, ';') && (mp->modem_control || mp->port_speed_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, ';'));
|
return sim_messagef (SCPE_ARG, "%sSerial line parameters can only be set within simulated OS: %s\n", dev_name, 1 + strchr (destination, ';'));
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
char *eptr;
|
char *eptr;
|
||||||
|
|
Loading…
Add table
Reference in a new issue