🚸 Quickly apply touch screen fan/laser edit (#27064)

This commit is contained in:
Vovodroid
2024-05-20 03:32:43 +03:00
committed by GitHub
parent 0e2bd069d4
commit d87a0ea7f7

View File

@@ -217,7 +217,7 @@ void Touch::touch(touch_control_t *control) {
static uint8_t fan, fan_speed;
fan = 0;
fan_speed = thermalManager.fan_speed[fan];
MenuItem_percent::action(GET_TEXT_F(MSG_FIRST_FAN_SPEED), &fan_speed, 0, 255, []{ thermalManager.set_fan_speed(fan, fan_speed); });
MenuItem_percent::action(GET_TEXT_F(MSG_FIRST_FAN_SPEED), &fan_speed, 0, 255, []{ thermalManager.set_fan_speed(fan, fan_speed); TERN_(LASER_SYNCHRONOUS_M106_M107, planner.buffer_sync_block(BLOCK_BIT_SYNC_FANS));});
break;
case FEEDRATE:
ui.clear_lcd();