Skip to content

Commit

Permalink
🐛 Fix JyersUI Preheat Items (MarlinFirmware#24060)
Browse files Browse the repository at this point in the history
  • Loading branch information
thisiskeithb authored and LCh-77 committed May 11, 2022
1 parent 4449d3c commit 3ddd652
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Marlin/src/lcd/e3v2/jyersui/dwin.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2118,7 +2118,7 @@ void CrealityDWINClass::Menu_Item_Handler(uint8_t menu, uint8_t item, bool draw/
#endif // HAS_HEATED_BED

#if HAS_PREHEAT
#define _PREHEAT_SUBMENU_CASE(N) case Preheat##N: preheat_submenu(N, item, TEMP_PREHEAT##N); break;
#define _PREHEAT_SUBMENU_CASE(N) case Preheat##N: preheat_submenu((N) - 1, item, TEMP_PREHEAT##N); break;
REPEAT_1(PREHEAT_COUNT, _PREHEAT_SUBMENU_CASE)
#endif

Expand Down

0 comments on commit 3ddd652

Please sign in to comment.