Browse Source

🐛 Fix custom menus on TFT LVGL

Fixes #21423. Regression from #18177.
vanilla_fb_2.0.x
Scott Lahteine 3 years ago
committed by Scott Lahteine
parent
commit
981191660d
  1. 2
      Marlin/src/inc/Conditionals_adv.h

2
Marlin/src/inc/Conditionals_adv.h

@ -567,7 +567,7 @@
#endif
#if BOTH(HAS_TFT_LVGL_UI, CUSTOM_MENU_MAIN)
#define _HAS_1(N) (defined(USER_DESC_##N) && defined(USER_GCODE_##N))
#define _HAS_1(N) (defined(MAIN_MENU_ITEM_##N##_DESC) && defined(MAIN_MENU_ITEM_##N##_GCODE))
#define HAS_USER_ITEM(V...) DO(HAS,||,V)
#else
#define HAS_USER_ITEM(N) 0

Loading…
Cancel
Save