Merge pull request #3944 from thinkyhead/rc_eboston_lcd_contrast
Improved LCD contrast handling
This commit is contained in:
@ -5655,7 +5655,7 @@ inline void gcode_M226() {
|
||||
* M250: Read and optionally set the LCD contrast
|
||||
*/
|
||||
inline void gcode_M250() {
|
||||
if (code_seen('C')) lcd_setcontrast(code_value_short() & 0x3F);
|
||||
if (code_seen('C')) set_lcd_contrast(code_value_short());
|
||||
SERIAL_PROTOCOLPGM("lcd contrast value: ");
|
||||
SERIAL_PROTOCOL(lcd_contrast);
|
||||
SERIAL_EOL;
|
||||
|
Reference in New Issue
Block a user