Skip to content

Commit

Permalink
added missing file update
Browse files Browse the repository at this point in the history
  • Loading branch information
digant73 committed Sep 3, 2023
1 parent edcbe39 commit 2d2813f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion TFT/src/User/API/Printing.c
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ void loopBreakToCondition(CONDITION_CALLBACK condCallback)
// from that command. Than another "M108" will be sent to unlock a next possible blocking command.
// This way enough "M108" will be sent to unlock all possible blocking command(s) (ongoing or enqueued) but not too much and
// not too fast one after another to overload/overrun the serial communication
TASK_LOOP_WHILE(condCallback(), Delay_ms(10); if (Serial_Available(SERIAL_PORT) != 0) sendEmergencyCmd("M108\n"));
TASK_LOOP_WHILE(condCallback(), if (Serial_Available(SERIAL_PORT) != 0) sendEmergencyCmd("M108\n"));

// remove any enqueued command that could come from a supplementary serial port or TFT media
// (if printing from remote host or TFT media) during the loop above
Expand Down

0 comments on commit 2d2813f

Please sign in to comment.