Browse Source

Fix set_lcd_contrast

MagoKimbra 7 years ago
parent
commit
2c309a8f7c
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      Marlin/ultralcd.cpp

+ 1
- 1
Marlin/ultralcd.cpp View File

@@ -4052,7 +4052,7 @@ void lcd_reset_alert_level() { lcd_status_message_level = 0; }
4052 4052
 
4053 4053
 #if HAS_LCD_CONTRAST
4054 4054
 
4055
-  void set_lcd_contrast(const int value) {
4055
+  void set_lcd_contrast(const uint16_t value) {
4056 4056
     lcd_contrast = constrain(value, LCD_CONTRAST_MIN, LCD_CONTRAST_MAX);
4057 4057
     u8g.setContrast(lcd_contrast);
4058 4058
   }

Loading…
Cancel
Save