Preserve power during PP by turning off backlight

This commit is contained in:
leptun 2019-10-19 18:45:31 +03:00
parent d7b12faa95
commit 4943e17bda

View file

@ -9534,6 +9534,11 @@ void uvlo_()
unsigned long time_start = _millis();
bool sd_print = card.sdprinting;
// Conserve power as soon as possible.
#ifdef LCD_BL_PIN
backlightMode = BACKLIGHT_MODE_DIM;
backlightLevel_LOW = 0;
backlight_update();
#endif //LCD_BL_PIN
disable_x();
disable_y();