🎨 Misc. adjustments, spacing

This commit is contained in:
Scott Lahteine
2022-04-03 16:50:39 -05:00
committed by Scott Lahteine
parent 70ea0e7c34
commit 2dc4c642e7
8 changed files with 50 additions and 44 deletions

View File

@ -398,7 +398,7 @@ typedef struct SettingsDataStruct {
uint8_t lcd_brightness; // M256 B
//
// LCD_BACKLIGHT_TIMEOUT
// Display Sleep
//
#if LCD_BACKLIGHT_TIMEOUT
uint16_t lcd_backlight_timeout; // (G-code needed)
@ -1130,7 +1130,7 @@ void MarlinSettings::postprocess() {
}
//
// LCD Backlight Timeout
// LCD Backlight / Sleep Timeout
//
#if LCD_BACKLIGHT_TIMEOUT
EEPROM_WRITE(ui.lcd_backlight_timeout);
@ -1144,7 +1144,7 @@ void MarlinSettings::postprocess() {
#if ENABLED(USE_CONTROLLER_FAN)
const controllerFan_settings_t &cfs = controllerFan.settings;
#else
controllerFan_settings_t cfs = controllerFan_defaults;
constexpr controllerFan_settings_t cfs = controllerFan_defaults;
#endif
EEPROM_WRITE(cfs);
}
@ -2054,7 +2054,7 @@ void MarlinSettings::postprocess() {
}
//
// LCD Backlight Timeout
// LCD Backlight / Sleep Timeout
//
#if LCD_BACKLIGHT_TIMEOUT
EEPROM_READ(ui.lcd_backlight_timeout);
@ -3094,7 +3094,7 @@ void MarlinSettings::reset() {
TERN_(HAS_LCD_BRIGHTNESS, ui.brightness = LCD_BRIGHTNESS_DEFAULT);
//
// LCD Backlight Timeout
// LCD Backlight / Sleep Timeout
//
#if LCD_BACKLIGHT_TIMEOUT
ui.lcd_backlight_timeout = LCD_BACKLIGHT_TIMEOUT;