Skip to content

Commit

Permalink
Fix JyersUI Preheat Items
Browse files Browse the repository at this point in the history
  • Loading branch information
thisiskeithb committed Apr 19, 2022
1 parent 8aaf64d commit 49bebcc
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 @@ -2079,7 +2079,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 49bebcc

Please sign in to comment.