-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix filament actions not cleared properly
We can't clear eFilamentAction in every case in mFilamentItem() mFilamentItem() can trigger a call to M701 and M702 e.g. for Autoloading and eFilamentAction must be cleared by the gcode to prevent the user from triggering another Autoload (which will crashe the FW) The same applies to submenus. Now the MMU submenus clear eFilamentAction only when the action is done. For MMU Unload Filament item, eFilamentAction is only cleared after the unload_filament() call is done running. This fixes an issue where the menu item can be selected again while the first unload is still running.
- Loading branch information
Showing
1 changed file
with
50 additions
and
20 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