Merge pull request #9132 from Bob-the-Kuhn/add-VIKI2-to-Travis

[2.0.x] add VIKI2 test to Travis & fix LCD contrast (again)
This commit is contained in:
Bob-the-Kuhn
2018-01-12 00:42:04 -06:00
committed by GitHub
5 changed files with 17 additions and 7 deletions

View File

@ -189,7 +189,7 @@ typedef struct SettingsDataStruct {
//
// HAS_LCD_CONTRAST
//
uint16_t lcd_contrast; // M250 C
int16_t lcd_contrast; // M250 C
//
// FWRETRACT
@ -596,7 +596,7 @@ void MarlinSettings::postprocess() {
_FIELD_TEST(lcd_contrast);
#if !HAS_LCD_CONTRAST
const uint16_t lcd_contrast = 32;
const int16_t lcd_contrast = 32;
#endif
EEPROM_WRITE(lcd_contrast);
@ -1143,7 +1143,7 @@ void MarlinSettings::postprocess() {
_FIELD_TEST(lcd_contrast);
#if !HAS_LCD_CONTRAST
uint16_t lcd_contrast;
int16_t lcd_contrast;
#endif
EEPROM_READ(lcd_contrast);