Fix `print_saved_in_ram` to be true for both SD and host prints

This commit is contained in:
3d-gussner 2024-03-13 11:07:39 +01:00
parent 9ec5639d29
commit 5b7c583dba
1 changed files with 1 additions and 1 deletions

View File

@ -41,7 +41,7 @@ void uvlo_() {
unsigned long time_start = _millis();
// True if a print is already saved to RAM
const bool print_saved_in_ram = saved_printing && (saved_printing_type == PowerPanic::PRINT_TYPE_SD);
const bool print_saved_in_ram = saved_printing && (saved_printing_type != PowerPanic::PRINT_TYPE_NONE);
const bool pos_invalid = mesh_bed_leveling_flag || homing_flag;
// Conserve as much power as soon as possible