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 Jul 31, 2021
1 parent b6f720c commit 35b0083
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 @@ -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
Expand Down

0 comments on commit 35b0083

Please sign in to comment.