Skip to content

Commit

Permalink
Merge pull request #42 from betgear/door_fix
Browse files Browse the repository at this point in the history
Fix for safety door, feed hold and cycle start bits.
  • Loading branch information
cprezzi committed Mar 30, 2020
2 parents 48a79be + 6776409 commit bbba813
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion grbl/system.c
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ void system_init()
uint8_t system_control_get_state()
{
uint8_t control_state = 0;
uint8_t pin = (CONTROL_PIN & CONTROL_MASK);
uint32_t pin = (CONTROL_PIN & CONTROL_MASK);
#ifdef INVERT_CONTROL_PIN_MASK
pin ^= INVERT_CONTROL_PIN_MASK;
#endif
Expand Down

0 comments on commit bbba813

Please sign in to comment.