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 LCD Menus + DAC compilation #19907

Merged

Conversation

sjasonsmith
Copy link
Contributor

Description

Recent stepper DAC refactoring missed a related menu item.

After fixing that, I then had the following error, which is why I modified settings.cpp.:
Marlin\src\module\settings.cpp:3794:102: error: #elif with no expression

Benefits

Allows compiling for boards with LCDs and Stepper DACs.

Configurations

Configurations were adapted from bug #19216
Configuration.zip

Related Issues

#19216

@sjasonsmith
Copy link
Contributor Author

I have not tested this myself, hopefully @fiveangle can verify it, since it is based on their bug report.

@fiveangle
Copy link
Contributor

Fixes resolves compile failure. Unable to test on printer since it's not near, but based on the fix I don't see it being an issue.

@0r31 0r31 mentioned this pull request Oct 27, 2020
@0r31
Copy link
Contributor

0r31 commented Oct 27, 2020

Hi @sjasonsmith ,

I also noticed some issues regarding DAC stuff. I have just created a pull request but i guess it is more convenient for reviewers if i integrate it in yours. Do you agree?

@sjasonsmith
Copy link
Contributor Author

@0r31 mine just fixes a minor compilation issue. If yours is not directly related to my changes, I suggest you just post a new PR.

@0r31
Copy link
Contributor

0r31 commented Oct 27, 2020

Understood @sjasonsmith , thanks for your update.

@thinkyhead thinkyhead changed the title Fix compilation issues with LCD Menus and HAS_MOTOR_CURRENT_DAC Fix LCD Menus + DAC compilation Oct 28, 2020
@thinkyhead thinkyhead merged commit bdb3f1a into MarlinFirmware:bugfix-2.0.x Oct 28, 2020
Speaka pushed a commit to Speaka/Marlin that referenced this pull request Nov 2, 2020
@sjasonsmith sjasonsmith deleted the PR/Bug19216_at90_DAC branch November 18, 2020 20:46
vgadreau pushed a commit to vgadreau/Marlin that referenced this pull request Dec 9, 2020
tharts pushed a commit to tharts/Marlin that referenced this pull request Jan 6, 2021
kpishere pushed a commit to kpishere/Marlin that referenced this pull request Feb 19, 2021
W4tel-BiDi pushed a commit to W4tel-BiDi/Marlin that referenced this pull request Apr 5, 2021
thinkyhead pushed a commit to thinkyhead/Marlin that referenced this pull request Apr 28, 2021
thinkyhead pushed a commit to thinkyhead/Marlin that referenced this pull request Apr 29, 2021
thinkyhead pushed a commit that referenced this pull request Apr 30, 2021
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.

4 participants