-
-
Notifications
You must be signed in to change notification settings - Fork 19.3k
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
[BUG] Two Problems with compiling bugfix-2.0.x #15106
Comments
please edit the title to be a bit mor meaningfull |
Where does it say anything about src\module\stepper_indirection.cpp and src\module\stepper\indirection.cpp? |
People find this through google anyhow :P |
See and try #15111 |
@NorxMAL is this still a problem? |
@boelle No, it is running fine on my Delta Ramps1.4 now :) |
oki, will close then, we can always reopen |
This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
Description
Error Message 1 :
Error Message 2 :
Got error on not finding a file, and multiple definitions of 'restore_stepper_drivers()'
Explanations to My FIX
Change line 28 in src\module\stepper\TMC26X.cpp to :
#include "../../inc/MarlinConfig.h"
This is not a fix, just a bandaid:
src\module\stepper_indirection.cpp
and
src\module\stepper\indirection.cpp
Yeah, the latter file has just has
in restore_stepper_drivers(), which the former doesn't have.
And in reset_stepper_drivers(), the latter (indirection.cpp) has
And former (stepper_indirection.cpp has
MY FIX
I just deleted both reset_stepper_drivers() and reset_stepper_drivers() code sections in indirection.cpp (The file is essentially empty) and added
to stepper_indirection.cpp restore_stepper_drivers(); so it looks like this
And didn't do anything to restore_stepper_drivers() in stepper_indirection.cpp
The text was updated successfully, but these errors were encountered: