LCD_CONTRAST to uint16_t for 1.1.x parity (#9148)

This commit is contained in:
Bob-the-Kuhn
2018-01-11 18:32:41 -06:00
committed by Scott Lahteine
parent 59d48b9b1f
commit 4393c3ef7f
4 changed files with 7 additions and 7 deletions

View File

@@ -5236,7 +5236,7 @@ void lcd_reset_alert_level() { lcd_status_message_level = 0; }
#if HAS_LCD_CONTRAST
void set_lcd_contrast(const uint16_t value) {
void set_lcd_contrast(const int16_t value) {
lcd_contrast = constrain(value, LCD_CONTRAST_MIN, LCD_CONTRAST_MAX);
u8g.setContrast(lcd_contrast);
}