Fixed atomic access to flags in sys.execute.
This seems to fix the bug that caused Grbl to hang during some operations, especially jogging.
This commit is contained in:
parent
8ed8005f6c
commit
015d5fa191
7 changed files with 20 additions and 20 deletions
2
probe.c
2
probe.c
|
|
@ -45,7 +45,7 @@ void probe_state_monitor()
|
|||
if (probe_get_state()) {
|
||||
sys.probe_state = PROBE_OFF;
|
||||
memcpy(sys.probe_position, sys.position, sizeof(float)*N_AXIS);
|
||||
sys.execute |= EXEC_FEED_HOLD;
|
||||
bit_true(sys.execute, EXEC_FEED_HOLD);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue