Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix FTDI Bilinear build #20608

Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 6 additions & 2 deletions Marlin/src/lcd/extui/lib/ftdi_eve_touch_ui/marlin_events.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -141,11 +141,15 @@ namespace ExtUI {
void onMeshLevelingStart() {}

void onMeshUpdate(const int8_t x, const int8_t y, const float val) {
BedMeshScreen::onMeshUpdate(x, y, val);
#if ENABLED(AUTO_BED_LEVELING_UBL)
BedMeshScreen::onMeshUpdate(x, y, val);
#endif
}

void onMeshUpdate(const int8_t x, const int8_t y, const ExtUI::probe_state_t state) {
BedMeshScreen::onMeshUpdate(x, y, state);
#if ENABLED(AUTO_BED_LEVELING_UBL)
BedMeshScreen::onMeshUpdate(x, y, state);
#endif
}
#endif

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ SCREEN_TABLE {
#if HAS_BED_PROBE
DECL_SCREEN(ZOffsetScreen),
#endif
#if HAS_MESH
#if ENABLED(AUTO_BED_LEVELING_UBL)
DECL_SCREEN(BedMeshScreen),
#endif
#endif
Expand Down