Skip to content

Commit bbba813

Browse files
authored
Merge pull request #42 from betgear/door_fix
Fix for safety door, feed hold and cycle start bits.
2 parents 48a79be + 6776409 commit bbba813

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

grbl/system.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ void system_init()
4141
uint8_t system_control_get_state()
4242
{
4343
uint8_t control_state = 0;
44-
uint8_t pin = (CONTROL_PIN & CONTROL_MASK);
44+
uint32_t pin = (CONTROL_PIN & CONTROL_MASK);
4545
#ifdef INVERT_CONTROL_PIN_MASK
4646
pin ^= INVERT_CONTROL_PIN_MASK;
4747
#endif

0 commit comments

Comments
 (0)