Skip to content

Commit

Permalink
🐛 Fix custom menus on TFT LVGL
Browse files Browse the repository at this point in the history
Fixes #21423. Regression from #18177.
  • Loading branch information
thinkyhead committed Aug 9, 2021
1 parent 245b6e0 commit 9811916
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Marlin/src/inc/Conditionals_adv.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 9811916

Please sign in to comment.