Skip to content

Fix LIN_ADVANCE ProUI#27895

Merged
thinkyhead merged 5 commits intoMarlinFirmware:bugfix-2.1.xfrom
classicrocker883:bugfix-2.1.x-May6
Jun 10, 2025
Merged

Fix LIN_ADVANCE ProUI#27895
thinkyhead merged 5 commits intoMarlinFirmware:bugfix-2.1.xfrom
classicrocker883:bugfix-2.1.x-May6

Conversation

@classicrocker883
Copy link
Contributor

@classicrocker883 classicrocker883 commented May 30, 2025

Description

Editing the value causes the value to reset to zero when reselecting.

This is more of an annoyance rather than a strict bug. However, adding static - changing to static float editable_k = planner.get_advance_k(); does make this work in a way, but in my testing it doesn't update correctly in the way it matters. such as going to another menu and back.

So the proposed changing to setFloatOnClick and adding the variable works best, plus is consistent with other instances.

Requirements

Benefits

Configurations

Related Issues

@thinkyhead thinkyhead force-pushed the bugfix-2.1.x branch 3 times, most recently from 3791e7d to 6ea4a16 Compare June 2, 2025 21:51
@thinkyhead thinkyhead merged commit 950f492 into MarlinFirmware:bugfix-2.1.x Jun 10, 2025
66 checks passed
@classicrocker883 classicrocker883 deleted the bugfix-2.1.x-May6 branch June 11, 2025 00:39
bsdnomad pushed a commit to bsdnomad/Marlin that referenced this pull request Sep 25, 2025
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