Save some bytes.

Thanks to @leptun
This commit is contained in:
3d-gussner 2023-04-26 09:18:47 +02:00
parent 686f92b243
commit e11555392e
1 changed files with 2 additions and 6 deletions

View File

@ -902,15 +902,11 @@ void lcd_commands()
switch (lcd_commands_step)
{
case 0:
lcd_commands_step = 6;
lcd_commands_step = 5;
[[fallthrough]];
case 6:
enquecommand_P(G28W);
lcd_commands_step = 5;
break;
case 5:
enquecommand_P(G28W);
enquecommand_P(PSTR("G1 X125 Y105 Z1 F8000"));
lcd_commands_step = 4;
break;