Skip to content

Commit

Permalink
Why enable spindle in reverse?
Browse files Browse the repository at this point in the history
  • Loading branch information
thinkyhead committed Dec 2, 2020
1 parent 7942a70 commit cce6710
Showing 1 changed file with 2 additions and 7 deletions.
9 changes: 2 additions & 7 deletions Marlin/src/lcd/menu/menu_spindle_laser.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -50,13 +50,8 @@

if (is_enabled)
EDIT_ITEM(bool, MSG_CUTTER(STATE), &cutter.state, cutter.disable);
else {
#if ENABLED(SPINDLE_CHANGE_DIR)
EDIT_ITEM(bool, MSG_CUTTER(STATE), &cutter.state, cutter.enable_reverse);
#else
EDIT_ITEM(bool, MSG_CUTTER(STATE), &cutter.state, cutter.enable_forward);
#endif
}
else
EDIT_ITEM(bool, MSG_CUTTER(STATE), &cutter.state, TERN_(SPINDLE_CHANGE_DIR, cutter.enable_reverse, cutter.enable_forward));

#if BOTH(MARLIN_DEV_MODE, HAL_CAN_SET_PWM_FREQ) && defined(SPINDLE_LASER_FREQUENCY)
EDIT_ITEM_FAST(CUTTER_MENU_FREQUENCY_TYPE, MSG_CUTTER_FREQUENCY, &cutter.frequency, 2000, 50000, cutter.refresh_frequency);
Expand Down

0 comments on commit cce6710

Please sign in to comment.