🐛 Fix custom menus on TFT LVGL

Fixes #21423. Regression from #18177.
This commit is contained in:
Scott Lahteine 2021-07-30 23:05:53 -05:00
parent b6f720ca1a
commit 35b0083dfe

View file

@ -969,7 +969,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