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

[2.0.x] L6470 bugfixes & resolve class L6470 name duplication #13011

Closed

Conversation

Bob-the-Kuhn
Copy link
Contributor

The class L6470 existed both in the library and in L6470_Marlin.h. To resolve this I renamed the one in L6470_Marlin.h to Marlin_L6470.

Fixed a lot of name issues and added in some missing declarations.

The chain[] array shouldn't be in the library's L6470 class because it is not specific to a stepper. I'm doing a PR on the library to make that change. This PR is dependent on the library change.

I did NOT include the XYZ array macro definition fix in this PR. As best I can tell the one that was just merged still causes problems.

@thinkyhead
Copy link
Member

thinkyhead commented Feb 4, 2019

The chain[] array shouldn't be in the library's L6470 class because it is not specific to a stepper.

Let's put it back into the class. See https://en.cppreference.com/w/cpp/language/static

@Bob-the-Kuhn Bob-the-Kuhn deleted the L6470-bugfix branch January 15, 2020 09:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
PR: Bug Fix T: HAL & APIs Topic related to the HAL and internal APIs.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants