|
|
@ -313,6 +313,7 @@ void _lcd_preheat(const int16_t endnum, const int16_t temph, const int16_t tempb
|
|
|
|
#endif
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
|
|
|
inline void _lcd_spindle_laser_off() { set_spindle_laser_enabled(false); }
|
|
|
|
inline void _lcd_spindle_laser_off() { set_spindle_laser_enabled(false); }
|
|
|
|
|
|
|
|
void set_spindle_direction(bool);
|
|
|
|
inline void _lcd_spindle_laser_on(const bool is_M4) {
|
|
|
|
inline void _lcd_spindle_laser_on(const bool is_M4) {
|
|
|
|
#if SPINDLE_DIR_CHANGE
|
|
|
|
#if SPINDLE_DIR_CHANGE
|
|
|
|
set_spindle_direction(is_M4);
|
|
|
|
set_spindle_direction(is_M4);
|
|
|
@ -329,7 +330,7 @@ void _lcd_preheat(const int16_t endnum, const int16_t temph, const int16_t tempb
|
|
|
|
MENU_BACK(MSG_MAIN);
|
|
|
|
MENU_BACK(MSG_MAIN);
|
|
|
|
if (spindle_laser_enabled()) {
|
|
|
|
if (spindle_laser_enabled()) {
|
|
|
|
#if ENABLED(SPINDLE_LASER_PWM)
|
|
|
|
#if ENABLED(SPINDLE_LASER_PWM)
|
|
|
|
MENU_ITEM_EDIT_CALLBACK(int3, MSG_LASER_POWER, &spindle_laser_power, SPEED_POWER_MIN, SPEED_POWER_MAX, update_spindle_laser_power);
|
|
|
|
MENU_ITEM_EDIT_CALLBACK(uint8, MSG_LASER_POWER, &spindle_laser_power, SPEED_POWER_MIN, SPEED_POWER_MAX, update_spindle_laser_power);
|
|
|
|
#endif
|
|
|
|
#endif
|
|
|
|
MENU_ITEM(function, MSG_LASER_OFF, _lcd_spindle_laser_off);
|
|
|
|
MENU_ITEM(function, MSG_LASER_OFF, _lcd_spindle_laser_off);
|
|
|
|
}
|
|
|
|
}
|
|
|
|