HAS_TRINAMIC => HAS_TRINAMIC_CONFIG
This commit is contained in:
@ -33,7 +33,7 @@
|
||||
#include "indirection.h"
|
||||
|
||||
void restore_stepper_drivers() {
|
||||
#if HAS_TRINAMIC
|
||||
#if HAS_TRINAMIC_CONFIG
|
||||
restore_trinamic_drivers();
|
||||
#endif
|
||||
}
|
||||
@ -47,7 +47,7 @@ void reset_stepper_drivers() {
|
||||
L64xxManager.init_to_defaults();
|
||||
#endif
|
||||
|
||||
#if HAS_TRINAMIC
|
||||
#if HAS_TRINAMIC_CONFIG
|
||||
reset_trinamic_drivers();
|
||||
#endif
|
||||
}
|
||||
|
@ -40,7 +40,7 @@
|
||||
#include "TMC26X.h"
|
||||
#endif
|
||||
|
||||
#if HAS_TRINAMIC
|
||||
#if HAS_TRINAMIC_CONFIG
|
||||
#include "trinamic.h"
|
||||
#endif
|
||||
|
||||
|
@ -27,7 +27,7 @@
|
||||
|
||||
#include "../../inc/MarlinConfig.h"
|
||||
|
||||
#if HAS_TRINAMIC
|
||||
#if HAS_TRINAMIC_CONFIG
|
||||
|
||||
#include "trinamic.h"
|
||||
#include "../stepper.h"
|
||||
@ -818,4 +818,4 @@ void reset_trinamic_drivers() {
|
||||
stepper.set_directions();
|
||||
}
|
||||
|
||||
#endif // HAS_TRINAMIC
|
||||
#endif // HAS_TRINAMIC_CONFIG
|
||||
|
Reference in New Issue
Block a user