mirror of
https://github.com/MarlinFirmware/Marlin.git
synced 2025-02-17 14:50:58 +00:00
🐛 Fix JyersUI Preheat Items (#24060)
This commit is contained in:
parent
5844128a77
commit
42be79b3a2
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in a new issue