🥅 Add MESH_EDIT_MENU sanity check (#21922)

This commit is contained in:
ellensp 2021-05-27 22:13:43 +12:00 committed by GitHub
parent 5c6a2f4d0d
commit 605b539ecd
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1584,6 +1584,8 @@ static_assert(Y_MAX_LENGTH >= Y_BED_SIZE, "Movement bounds (Y_MIN_POS, Y_MAX_POS
#error "LCD_BED_LEVELING requires a programmable LCD controller."
#elif !(ENABLED(MESH_BED_LEVELING) || HAS_ABL_NOT_UBL)
#error "LCD_BED_LEVELING requires MESH_BED_LEVELING or AUTO_BED_LEVELING."
#elif ENABLED(MESH_EDIT_MENU) && !HAS_MESH
#error "MESH_EDIT_MENU requires MESH_BED_LEVELING, AUTO_BED_LEVELING_BILINEAR or AUTO_BED_LEVELING_UBL."
#endif
#endif