We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ce5b8bd commit 93891bbCopy full SHA for 93891bb
1 file changed
src/emc/task/taskclass.cc
@@ -648,12 +648,13 @@ int Task::read_tool_inputs(void)
648
void Task::run(){ // called periodically from emctaskmain.cc
649
tool_status = read_tool_inputs();
650
651
- if (iocontrol_data.emc_enable_in == 1 && iocontrol_data.user_request_enable == 1) {
652
- iocontrol_data.user_request_enable = 0;
653
- }
654
655
if (iocontrol_data.emc_enable_in == 0) //check for estop from HW
656
emcioStatus.aux.estop = 1;
657
- else
+ else {
658
emcioStatus.aux.estop = 0;
+ if (iocontrol_data.user_request_enable == 1) {
+ iocontrol_data.user_request_enable = 0;
+ }
659
660
}
0 commit comments