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