mirror of
https://github.com/simh/simh.git
synced 2026-01-11 23:52:58 +00:00
TMXR: Properly test when adding debugging options only to DEV_MUX DEVICEs
This commit is contained in:
parent
e68af896d0
commit
3840765c63
@ -3913,7 +3913,7 @@ static DEBTAB tmxr_debug[] = {
|
||||
|
||||
t_stat tmxr_add_debug (DEVICE *dptr)
|
||||
{
|
||||
if (!(dptr->flags & DEV_MUX))
|
||||
if (DEV_TYPE(dptr) != DEV_MUX)
|
||||
return SCPE_OK;
|
||||
return sim_add_debug_flags (dptr, tmxr_debug);
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user