Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions src/emc/task/emctaskmain.cc
Original file line number Diff line number Diff line change
Expand Up @@ -1489,6 +1489,9 @@ static int emcTaskPlan(void)
rtapi_strlcpy(cmd->command, static_cast<EMC_TASK_PLAN_EXECUTE*>(emcCommand)->command, sizeof(cmd->command));
mdi_execute_queue.append(std::move(cmd));
emcStatus->task.queuedMDIcommands = mdi_execute_queue.len();
// not idle while an MDI waits its turn: the status
// that echoes it must not read as done
emcStatus->task.interpState = EMC_TASK_INTERP::READING;
retval = 0;
}
break;
Expand Down
4 changes: 0 additions & 4 deletions tests/interp/g28.2/invalid-pword/test-ui.py
Original file line number Diff line number Diff line change
Expand Up @@ -187,7 +187,6 @@ def mode_name(m):
# unrelated complaint about extra joints.
drain_errors()
c.mode(linuxcnc.MODE_MANUAL)
time.sleep(0.2)
c.unhome(3)
time.sleep(0.5)
poll()
Expand All @@ -201,9 +200,6 @@ def mode_name(m):
fail("an immediate unhome of unconfigured joint 3 disturbed a real joint: {}".format(list(s.homed[:3])))
print("PASS: immediate unhome of an unconfigured joint reported {!r}".format(msgs[0][:90]))

c.mode(linuxcnc.MODE_MDI)
time.sleep(0.2)

# The rejection must not have cost anything: ordinary work continues.
c.mode(linuxcnc.MODE_MDI)
c.mdi("G0 X2")
Expand Down