SCP: Set UNIT_IDLE in the step unit so idline can happen during "STEP -t nnn"

This commit is contained in:
Mark Pizzolato 2018-06-19 23:41:09 -07:00
parent 53792d6261
commit 3b8442ce71

2
scp.c
View file

@ -607,7 +607,7 @@ static const char *sim_int_step_description (DEVICE *dptr)
return "Step/Next facility"; return "Step/Next facility";
} }
static UNIT sim_step_unit = { UDATA (&step_svc, 0, 0) }; static UNIT sim_step_unit = { UDATA (&step_svc, UNIT_IDLE, 0) };
DEVICE sim_step_dev = { DEVICE sim_step_dev = {
"INT-STEP", &sim_step_unit, NULL, NULL, "INT-STEP", &sim_step_unit, NULL, NULL,
1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0,