Keep "astyled" elements in stepper_indirection.*
This commit is contained in:
@@ -60,8 +60,7 @@
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if ENABLED(HAVE_TMCDRIVER)
|
#if ENABLED(HAVE_TMCDRIVER)
|
||||||
void tmc_init()
|
void tmc_init() {
|
||||||
{
|
|
||||||
#if ENABLED(X_IS_TMC)
|
#if ENABLED(X_IS_TMC)
|
||||||
stepperX.setMicrosteps(X_MICROSTEPS);
|
stepperX.setMicrosteps(X_MICROSTEPS);
|
||||||
stepperX.start();
|
stepperX.start();
|
||||||
@@ -147,8 +146,7 @@ void tmc_init()
|
|||||||
|
|
||||||
// init routine
|
// init routine
|
||||||
#if ENABLED(HAVE_L6470DRIVER)
|
#if ENABLED(HAVE_L6470DRIVER)
|
||||||
void L6470_init()
|
void L6470_init() {
|
||||||
{
|
|
||||||
#if ENABLED(X_IS_L6470)
|
#if ENABLED(X_IS_L6470)
|
||||||
stepperX.init(X_K_VAL);
|
stepperX.init(X_K_VAL);
|
||||||
stepperX.softFree();
|
stepperX.softFree();
|
||||||
|
Reference in New Issue
Block a user