M10-M11 Air Evacuation for Spindle/Laser (#21668)
Co-authored-by: Scott Lahteine <thinkyhead@users.noreply.github.com>
This commit is contained in:
@ -51,6 +51,11 @@
|
||||
editable.state = is_enabled;
|
||||
EDIT_ITEM(bool, MSG_CUTTER(TOGGLE), &is_enabled, []{ if (editable.state) cutter.disable(); else cutter.enable_same_dir(); });
|
||||
|
||||
#if ENABLED(AIR_EVACUATION)
|
||||
bool evac_state = cutter.air_evac_state();
|
||||
EDIT_ITEM(bool, MSG_CUTTER(EVAC_TOGGLE), &evac_state, cutter.air_evac_toggle);
|
||||
#endif
|
||||
|
||||
#if ENABLED(SPINDLE_CHANGE_DIR)
|
||||
if (!is_enabled) {
|
||||
editable.state = is_rev;
|
||||
|
Reference in New Issue
Block a user