forked from voidtrance/voron-klipper-extensions
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[loop_macro] Add support for iteration limits
Loop macros have the potential of running forever and locking up Klipper completely. This commit attemtps to improve this by providing a way for loop macros to define a safety switch by limiting the number of iterations the macro can go through. While it is still possible to lock up Klipper if limits are not defined, if a limit is in place, a loop macro will terminate even if it does not reach a `BREAK` command.
- Loading branch information
1 parent
77e22a6
commit 282e1bf
Showing
2 changed files
with
88 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters