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 AUTO_BED_LEVELING_(BI)LINEAR display overflow on grid_points when GRID_MAX_POINTS_X > 15 #25831

Merged
merged 1 commit into from
May 16, 2023
Merged

fix AUTO_BED_LEVELING_(BI)LINEAR display overflow on grid_points when GRID_MAX_POINTS_X > 15 #25831

merged 1 commit into from
May 16, 2023

Conversation

ratmole
Copy link
Contributor

@ratmole ratmole commented May 15, 2023

Description

fix AUTO_BED_LEVELING_(BI)LINEAR display overflow on grid_points when GRID_MAX_POINTS_X > 15

Requirements

No

Benefits

Fixing a overflow when probing the bed, when the counter goes above 255 if resets to 0

Related Issues

No

@thinkyhead
Copy link
Member

Previously 16 x 16 was the maximum allowed, but we lacked a sanity-check for it. Anyway, if more points are desired, that is certainly possible! However this PR in its current state doesn't actually fix the issue. I'll push some changes shortly that actually address the problem of GRID_MAX_POINTS > 255.

@thinkyhead thinkyhead merged commit 060ddf5 into MarlinFirmware:bugfix-2.1.x May 16, 2023
@ratmole ratmole deleted the bilinear_grid_points_overflow_fix branch May 16, 2023 08:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants