Skip to content

Commit

Permalink
Fixed timing-dependent hang with M5 (bdring#282) (bdring#284)
Browse files Browse the repository at this point in the history
  • Loading branch information
MitchBradley authored and Stefan de Bruijn committed Jul 21, 2022
1 parent 03a89cc commit 7e4436c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions FluidNC/src/Protocol.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -235,9 +235,9 @@ void protocol_main_loop() {
// Block until all buffered steps are executed or in a cycle state. Works with feed hold
// during a synchronize call, if it should happen. Also, waits for clean cycle end.
void protocol_buffer_synchronize() {
// If system is queued, ensure cycle resumes if the auto start flag is present.
protocol_auto_cycle_start();
do {
// Restart motion if there are blocks in the planner queue
protocol_auto_cycle_start();
pollChannels();
protocol_execute_realtime(); // Check and execute run-time commands
if (sys.abort) {
Expand Down

0 comments on commit 7e4436c

Please sign in to comment.