"stop" immediately after "pause" patch

This commit is contained in:
MRprusa3d 2019-04-29 14:39:19 +02:00
parent ca449ef517
commit b93f37ee02

View File

@ -1046,8 +1046,11 @@ void lcd_commands()
{
lcd_setstatuspgm(_i("Print paused"));////MSG_PRINT_PAUSED c=20 r=1
long_pause();
lcd_commands_type = 0;
lcd_commands_step = 0;
if (lcd_commands_type == LCD_COMMAND_LONG_PAUSE) // !!! because "lcd_commands_type" can be changed during/inside "long_pause()"
{
lcd_commands_type = 0;
lcd_commands_step = 0;
}
}
}