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