Skip to content

Commit bfcb8c7

Browse files
adam3654thinkyhead
authored andcommitted
✨ DOGM Display Sleep (MarlinFirmware#24829)
1 parent 0047b30 commit bfcb8c7

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

Marlin/src/gcode/gcode.cpp

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -793,6 +793,10 @@ void GcodeSuite::process_parsed_command(const bool no_ok/*=false*/) {
793793
case 250: M250(); break; // M250: Set LCD contrast
794794
#endif
795795

796+
#if HAS_GCODE_M255
797+
case 255: M255(); break; // M255: Set LCD Sleep/Backlight Timeout (Minutes)
798+
#endif
799+
796800
#if HAS_LCD_BRIGHTNESS
797801
case 256: M256(); break; // M256: Set LCD brightness
798802
#endif

0 commit comments

Comments
 (0)