Skip to content

Commit 3ddd652

Browse files
thisiskeithbLCh-77
authored andcommitted
🐛 Fix JyersUI Preheat Items (MarlinFirmware#24060)
1 parent 4449d3c commit 3ddd652

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Marlin/src/lcd/e3v2/jyersui/dwin.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -2118,7 +2118,7 @@ void CrealityDWINClass::Menu_Item_Handler(uint8_t menu, uint8_t item, bool draw/
21182118
#endif // HAS_HEATED_BED
21192119

21202120
#if HAS_PREHEAT
2121-
#define _PREHEAT_SUBMENU_CASE(N) case Preheat##N: preheat_submenu(N, item, TEMP_PREHEAT##N); break;
2121+
#define _PREHEAT_SUBMENU_CASE(N) case Preheat##N: preheat_submenu((N) - 1, item, TEMP_PREHEAT##N); break;
21222122
REPEAT_1(PREHEAT_COUNT, _PREHEAT_SUBMENU_CASE)
21232123
#endif
21242124

0 commit comments

Comments
 (0)