"stop" immediately after "pause" patch
This commit is contained in:
parent
ca449ef517
commit
b93f37ee02
1 changed files with 5 additions and 2 deletions
|
@ -1046,10 +1046,13 @@ void lcd_commands()
|
||||||
{
|
{
|
||||||
lcd_setstatuspgm(_i("Print paused"));////MSG_PRINT_PAUSED c=20 r=1
|
lcd_setstatuspgm(_i("Print paused"));////MSG_PRINT_PAUSED c=20 r=1
|
||||||
long_pause();
|
long_pause();
|
||||||
|
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_type = 0;
|
||||||
lcd_commands_step = 0;
|
lcd_commands_step = 0;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
#ifdef SNMM
|
#ifdef SNMM
|
||||||
|
|
Loading…
Add table
Reference in a new issue