We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0b5604b commit addb1a9Copy full SHA for addb1a9
grbl/system.c
@@ -66,13 +66,15 @@ ISR(CONTROL_INT_vect)
66
if (pin) {
67
if (bit_istrue(pin,CONTROL_PIN_INDEX_RESET)) {
68
mc_reset();
69
- } else if (bit_istrue(pin,CONTROL_PIN_INDEX_CYCLE_START)) {
+ }
70
+ if (bit_istrue(pin,CONTROL_PIN_INDEX_CYCLE_START)) {
71
bit_true(sys_rt_exec_state, EXEC_CYCLE_START);
72
73
#ifndef ENABLE_SAFETY_DOOR_INPUT_PIN
- } else if (bit_istrue(pin,CONTROL_PIN_INDEX_FEED_HOLD)) {
74
+ if (bit_istrue(pin,CONTROL_PIN_INDEX_FEED_HOLD)) {
75
bit_true(sys_rt_exec_state, EXEC_FEED_HOLD);
76
#else
- } else if (bit_istrue(pin,CONTROL_PIN_INDEX_SAFETY_DOOR)) {
77
+ if (bit_istrue(pin,CONTROL_PIN_INDEX_SAFETY_DOOR)) {
78
bit_true(sys_rt_exec_state, EXEC_SAFETY_DOOR);
79
#endif
80
}
0 commit comments