Cancel a recovering print when using the LCD "Stop"
Also clear the UVLO flag when using lcd_print_stop. This prevents an aborted print which has been cancelled while unparking (just prior to recover) to come back again at the next startup.
This commit is contained in:
parent
7f3d4a8491
commit
5310181970
|
|
@ -11249,6 +11249,7 @@ void restore_print_from_ram_and_continue(float e_move)
|
||||||
// Cancel the state related to a currently saved print
|
// Cancel the state related to a currently saved print
|
||||||
void cancel_saved_printing()
|
void cancel_saved_printing()
|
||||||
{
|
{
|
||||||
|
eeprom_update_byte((uint8_t*)EEPROM_UVLO, 0);
|
||||||
saved_target[0] = SAVED_TARGET_UNSET;
|
saved_target[0] = SAVED_TARGET_UNSET;
|
||||||
saved_printing_type = PRINTING_TYPE_NONE;
|
saved_printing_type = PRINTING_TYPE_NONE;
|
||||||
saved_printing = false;
|
saved_printing = false;
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue