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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

[2.1.x] 馃悰 Fix bool evalution of XYval and similar types #27026

Merged

Conversation

thisiskeithb
Copy link
Member

@thisiskeithb thisiskeithb commented Apr 28, 2024

Description

Important

This is a 2.1.x-specific patch for board lockup and bootloops with Input Shaping among other things. Originally submitted to bugfix-2.1.x by @sjasonsmith in #26936

And if you're asking why this didn't affect bugfix-2.1.x, it's because:

The reason this specific bug behaviour does not occur in bugfix appears to be that the variable in question (step_needed in function Stepper::shaping_isr()) has changed type from xy_bool_t to AxisFlags.

Originally posted by @tombrazier in #26811 (comment)


Verified that board bootloops and lockups are gone on an SKR 1.4 with INPUT_SHAPING_X and INPUT_SHAPING_Y enabled.

Requirements

Marlin 2.1.x

Benefits

Marlin 2.1.x will include this patch on the next release.

Related Issues

Related Issues

Fixes Input Shaping bootloop among other issues. See MarlinFirmware#26936 for more information.

Co-authored-by: sjasonsmith <[email protected]>
@thisiskeithb thisiskeithb changed the title 馃悰 Fix bool evalution of XYval and similar types [2.1.x] [2.1.x] 馃悰 Fix bool evalution of XYval and similar types Apr 30, 2024
@thinkyhead thinkyhead merged commit fe9e890 into MarlinFirmware:2.1.x May 6, 2024
@thisiskeithb thisiskeithb deleted the pr/fix_input_shaping_bootloop branch May 6, 2024 23:55
diego-cr pushed a commit to diego-cr/Marlin that referenced this pull request May 7, 2024
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.

None yet

2 participants