2016-03-25 07:19:46 +01:00
|
|
|
/**
|
2016-03-24 19:01:20 +01:00
|
|
|
* Marlin 3D Printer Firmware
|
|
|
|
* Copyright (C) 2016 MarlinFirmware [https://github.com/MarlinFirmware/Marlin]
|
|
|
|
*
|
|
|
|
* Based on Sprinter and grbl.
|
|
|
|
* Copyright (C) 2011 Camiel Gubbels / Erik van der Zalm
|
|
|
|
*
|
|
|
|
* This program is free software: you can redistribute it and/or modify
|
|
|
|
* it under the terms of the GNU General Public License as published by
|
|
|
|
* the Free Software Foundation, either version 3 of the License, or
|
|
|
|
* (at your option) any later version.
|
|
|
|
*
|
|
|
|
* This program is distributed in the hope that it will be useful,
|
|
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
|
* GNU General Public License for more details.
|
|
|
|
*
|
|
|
|
* You should have received a copy of the GNU General Public License
|
|
|
|
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
|
|
*
|
|
|
|
*/
|
|
|
|
|
2016-03-25 07:19:46 +01:00
|
|
|
/**
|
2017-03-07 06:00:43 +01:00
|
|
|
* stepper_indirection.cpp
|
|
|
|
*
|
|
|
|
* Stepper motor driver indirection to allow some stepper functions to
|
|
|
|
* be done via SPI/I2c instead of direct pin manipulation.
|
|
|
|
*
|
|
|
|
* Part of Marlin
|
|
|
|
*
|
|
|
|
* Copyright (c) 2015 Dominik Wenger
|
|
|
|
*/
|
2015-02-26 12:57:46 +01:00
|
|
|
|
|
|
|
#include "stepper_indirection.h"
|
2016-07-25 03:54:24 +02:00
|
|
|
|
2017-09-06 13:28:32 +02:00
|
|
|
#include "../inc/MarlinConfig.h"
|
2015-02-26 12:57:46 +01:00
|
|
|
|
2016-11-07 21:46:01 +01:00
|
|
|
//
|
|
|
|
// TMC26X Driver objects and inits
|
|
|
|
//
|
2015-07-31 07:28:11 +02:00
|
|
|
#if ENABLED(HAVE_TMCDRIVER)
|
2016-11-07 21:46:01 +01:00
|
|
|
|
2015-07-31 07:28:11 +02:00
|
|
|
#include <SPI.h>
|
|
|
|
#include <TMC26XStepper.h>
|
2015-02-26 12:57:46 +01:00
|
|
|
|
2017-03-07 06:00:43 +01:00
|
|
|
#define _TMC_DEFINE(ST) TMC26XStepper stepper##ST(200, ST##_ENABLE_PIN, ST##_STEP_PIN, ST##_DIR_PIN, ST##_MAX_CURRENT, ST##_SENSE_RESISTOR)
|
|
|
|
|
2015-07-31 07:28:11 +02:00
|
|
|
#if ENABLED(X_IS_TMC)
|
2017-03-07 06:00:43 +01:00
|
|
|
_TMC_DEFINE(X);
|
2015-07-31 07:28:11 +02:00
|
|
|
#endif
|
|
|
|
#if ENABLED(X2_IS_TMC)
|
2017-03-07 06:00:43 +01:00
|
|
|
_TMC_DEFINE(X2);
|
2015-07-31 07:28:11 +02:00
|
|
|
#endif
|
|
|
|
#if ENABLED(Y_IS_TMC)
|
2017-03-07 06:00:43 +01:00
|
|
|
_TMC_DEFINE(Y);
|
2015-07-31 07:28:11 +02:00
|
|
|
#endif
|
|
|
|
#if ENABLED(Y2_IS_TMC)
|
2017-03-07 06:00:43 +01:00
|
|
|
_TMC_DEFINE(Y2);
|
2015-07-31 07:28:11 +02:00
|
|
|
#endif
|
|
|
|
#if ENABLED(Z_IS_TMC)
|
2017-03-07 06:00:43 +01:00
|
|
|
_TMC_DEFINE(Z);
|
2015-07-31 07:28:11 +02:00
|
|
|
#endif
|
|
|
|
#if ENABLED(Z2_IS_TMC)
|
2017-03-07 06:00:43 +01:00
|
|
|
_TMC_DEFINE(Z2);
|
2015-07-31 07:28:11 +02:00
|
|
|
#endif
|
|
|
|
#if ENABLED(E0_IS_TMC)
|
2017-03-07 06:00:43 +01:00
|
|
|
_TMC_DEFINE(E0);
|
2015-07-31 07:28:11 +02:00
|
|
|
#endif
|
|
|
|
#if ENABLED(E1_IS_TMC)
|
2017-03-07 06:00:43 +01:00
|
|
|
_TMC_DEFINE(E1);
|
2015-07-31 07:28:11 +02:00
|
|
|
#endif
|
|
|
|
#if ENABLED(E2_IS_TMC)
|
2017-03-07 06:00:43 +01:00
|
|
|
_TMC_DEFINE(E2);
|
2015-07-31 07:28:11 +02:00
|
|
|
#endif
|
|
|
|
#if ENABLED(E3_IS_TMC)
|
2017-03-07 06:00:43 +01:00
|
|
|
_TMC_DEFINE(E3);
|
2015-07-31 07:28:11 +02:00
|
|
|
#endif
|
2017-04-09 10:23:05 +02:00
|
|
|
#if ENABLED(E4_IS_TMC)
|
|
|
|
_TMC_DEFINE(E4);
|
|
|
|
#endif
|
2015-02-27 12:43:23 +01:00
|
|
|
|
2016-11-07 21:46:01 +01:00
|
|
|
#define _TMC_INIT(A) do{ \
|
2017-03-04 12:17:39 +01:00
|
|
|
stepper##A.setMicrosteps(A##_MICROSTEPS); \
|
|
|
|
stepper##A.start(); \
|
2017-03-07 06:00:43 +01:00
|
|
|
}while(0)
|
2016-11-07 21:46:01 +01:00
|
|
|
|
|
|
|
void tmc_init() {
|
|
|
|
#if ENABLED(X_IS_TMC)
|
|
|
|
_TMC_INIT(X);
|
|
|
|
#endif
|
|
|
|
#if ENABLED(X2_IS_TMC)
|
|
|
|
_TMC_INIT(X2);
|
|
|
|
#endif
|
|
|
|
#if ENABLED(Y_IS_TMC)
|
|
|
|
_TMC_INIT(Y);
|
|
|
|
#endif
|
|
|
|
#if ENABLED(Y2_IS_TMC)
|
|
|
|
_TMC_INIT(Y2);
|
|
|
|
#endif
|
|
|
|
#if ENABLED(Z_IS_TMC)
|
|
|
|
_TMC_INIT(Z);
|
|
|
|
#endif
|
|
|
|
#if ENABLED(Z2_IS_TMC)
|
|
|
|
_TMC_INIT(Z2);
|
|
|
|
#endif
|
|
|
|
#if ENABLED(E0_IS_TMC)
|
|
|
|
_TMC_INIT(E0);
|
|
|
|
#endif
|
|
|
|
#if ENABLED(E1_IS_TMC)
|
|
|
|
_TMC_INIT(E1);
|
|
|
|
#endif
|
|
|
|
#if ENABLED(E2_IS_TMC)
|
|
|
|
_TMC_INIT(E2);
|
|
|
|
#endif
|
|
|
|
#if ENABLED(E3_IS_TMC)
|
|
|
|
_TMC_INIT(E3);
|
|
|
|
#endif
|
2017-04-09 10:23:05 +02:00
|
|
|
#if ENABLED(E4_IS_TMC)
|
|
|
|
_TMC_INIT(E4);
|
|
|
|
#endif
|
2016-11-07 21:46:01 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
#endif // HAVE_TMCDRIVER
|
|
|
|
|
|
|
|
//
|
|
|
|
// TMC2130 Driver objects and inits
|
|
|
|
//
|
2017-03-07 06:00:43 +01:00
|
|
|
#if ENABLED(HAVE_TMC2130)
|
2016-11-07 21:35:14 +01:00
|
|
|
|
2016-09-14 08:48:47 +02:00
|
|
|
#include <SPI.h>
|
2017-03-07 06:00:43 +01:00
|
|
|
#include <TMC2130Stepper.h>
|
2017-09-06 13:28:32 +02:00
|
|
|
#include "../core/enum.h"
|
2016-09-14 08:48:47 +02:00
|
|
|
|
2017-04-15 05:44:08 +02:00
|
|
|
#define _TMC2130_DEFINE(ST) TMC2130Stepper stepper##ST(ST##_ENABLE_PIN, ST##_DIR_PIN, ST##_STEP_PIN, ST##_CS_PIN)
|
2016-09-14 08:48:47 +02:00
|
|
|
|
2017-03-07 06:00:43 +01:00
|
|
|
// Stepper objects of TMC2130 steppers used
|
2016-11-07 21:35:14 +01:00
|
|
|
#if ENABLED(X_IS_TMC2130)
|
2017-03-07 06:00:43 +01:00
|
|
|
_TMC2130_DEFINE(X);
|
2016-11-07 21:35:14 +01:00
|
|
|
#endif
|
|
|
|
#if ENABLED(X2_IS_TMC2130)
|
2017-03-07 06:00:43 +01:00
|
|
|
_TMC2130_DEFINE(X2);
|
2016-11-07 21:35:14 +01:00
|
|
|
#endif
|
|
|
|
#if ENABLED(Y_IS_TMC2130)
|
2017-03-07 06:00:43 +01:00
|
|
|
_TMC2130_DEFINE(Y);
|
2016-11-07 21:35:14 +01:00
|
|
|
#endif
|
|
|
|
#if ENABLED(Y2_IS_TMC2130)
|
2017-03-07 06:00:43 +01:00
|
|
|
_TMC2130_DEFINE(Y2);
|
2016-11-07 21:35:14 +01:00
|
|
|
#endif
|
|
|
|
#if ENABLED(Z_IS_TMC2130)
|
2017-03-07 06:00:43 +01:00
|
|
|
_TMC2130_DEFINE(Z);
|
2016-11-07 21:35:14 +01:00
|
|
|
#endif
|
|
|
|
#if ENABLED(Z2_IS_TMC2130)
|
2017-03-07 06:00:43 +01:00
|
|
|
_TMC2130_DEFINE(Z2);
|
2016-11-07 21:35:14 +01:00
|
|
|
#endif
|
|
|
|
#if ENABLED(E0_IS_TMC2130)
|
2017-03-07 06:00:43 +01:00
|
|
|
_TMC2130_DEFINE(E0);
|
2016-11-07 21:35:14 +01:00
|
|
|
#endif
|
|
|
|
#if ENABLED(E1_IS_TMC2130)
|
2017-03-07 06:00:43 +01:00
|
|
|
_TMC2130_DEFINE(E1);
|
2016-11-07 21:35:14 +01:00
|
|
|
#endif
|
|
|
|
#if ENABLED(E2_IS_TMC2130)
|
2017-03-07 06:00:43 +01:00
|
|
|
_TMC2130_DEFINE(E2);
|
2016-11-07 21:35:14 +01:00
|
|
|
#endif
|
|
|
|
#if ENABLED(E3_IS_TMC2130)
|
2017-03-07 06:00:43 +01:00
|
|
|
_TMC2130_DEFINE(E3);
|
2016-11-07 21:35:14 +01:00
|
|
|
#endif
|
2017-04-09 10:23:05 +02:00
|
|
|
#if ENABLED(E4_IS_TMC2130)
|
|
|
|
_TMC2130_DEFINE(E4);
|
|
|
|
#endif
|
2016-11-07 21:35:14 +01:00
|
|
|
|
2017-03-07 06:00:43 +01:00
|
|
|
// Use internal reference voltage for current calculations. This is the default.
|
|
|
|
// Following values from Trinamic's spreadsheet with values for a NEMA17 (42BYGHW609)
|
2017-04-15 05:44:08 +02:00
|
|
|
// https://www.trinamic.com/products/integrated-circuits/details/tmc2130/
|
2017-08-05 09:33:20 +02:00
|
|
|
void tmc2130_init(TMC2130Stepper &st, const uint16_t microsteps, const uint32_t thrs, const float &spmm) {
|
2017-03-07 06:00:43 +01:00
|
|
|
st.begin();
|
|
|
|
st.setCurrent(st.getCurrent(), R_SENSE, HOLD_MULTIPLIER);
|
|
|
|
st.microsteps(microsteps);
|
2017-04-15 05:44:08 +02:00
|
|
|
st.blank_time(36);
|
|
|
|
st.off_time(5); // Only enables the driver if used with stealthChop
|
2017-03-07 06:00:43 +01:00
|
|
|
st.interpolate(INTERPOLATE);
|
2017-04-15 05:44:08 +02:00
|
|
|
st.power_down_delay(128); // ~2s until driver lowers to hold current
|
|
|
|
st.hysterisis_start(0); // HSTRT = 1
|
|
|
|
st.hysterisis_low(1); // HEND = -2
|
|
|
|
st.diag1_active_high(1); // For sensorless homing
|
2017-03-07 06:00:43 +01:00
|
|
|
#if ENABLED(STEALTHCHOP)
|
2017-04-15 05:44:08 +02:00
|
|
|
st.stealth_freq(1); // f_pwm = 2/683 f_clk
|
|
|
|
st.stealth_autoscale(1);
|
|
|
|
st.stealth_gradient(5);
|
|
|
|
st.stealth_amplitude(255);
|
2017-03-07 06:00:43 +01:00
|
|
|
st.stealthChop(1);
|
2017-04-15 05:44:08 +02:00
|
|
|
#if ENABLED(HYBRID_THRESHOLD)
|
|
|
|
st.stealth_max_speed(12650000UL*st.microsteps()/(256*thrs*spmm));
|
|
|
|
#endif
|
|
|
|
#elif ENABLED(SENSORLESS_HOMING)
|
|
|
|
st.coolstep_min_speed(1024UL * 1024UL - 1UL);
|
2017-03-07 06:00:43 +01:00
|
|
|
#endif
|
|
|
|
}
|
|
|
|
|
2017-04-15 05:44:08 +02:00
|
|
|
#define _TMC2130_INIT(ST, SPMM) tmc2130_init(stepper##ST, ST##_MICROSTEPS, ST##_HYBRID_THRESHOLD, SPMM)
|
2017-03-07 06:00:43 +01:00
|
|
|
|
2016-11-07 21:35:14 +01:00
|
|
|
void tmc2130_init() {
|
2017-08-05 09:33:20 +02:00
|
|
|
constexpr float steps_per_mm[] = DEFAULT_AXIS_STEPS_PER_UNIT;
|
2016-11-07 21:35:14 +01:00
|
|
|
#if ENABLED(X_IS_TMC2130)
|
2017-04-15 05:44:08 +02:00
|
|
|
_TMC2130_INIT( X, steps_per_mm[X_AXIS]);
|
|
|
|
#if ENABLED(SENSORLESS_HOMING)
|
|
|
|
stepperX.sg_stall_value(X_HOMING_SENSITIVITY);
|
|
|
|
#endif
|
2016-11-07 21:35:14 +01:00
|
|
|
#endif
|
|
|
|
#if ENABLED(X2_IS_TMC2130)
|
2017-04-15 05:44:08 +02:00
|
|
|
_TMC2130_INIT(X2, steps_per_mm[X_AXIS]);
|
2016-11-07 21:35:14 +01:00
|
|
|
#endif
|
|
|
|
#if ENABLED(Y_IS_TMC2130)
|
2017-04-15 05:44:08 +02:00
|
|
|
_TMC2130_INIT( Y, steps_per_mm[Y_AXIS]);
|
|
|
|
#if ENABLED(SENSORLESS_HOMING)
|
|
|
|
stepperY.sg_stall_value(Y_HOMING_SENSITIVITY);
|
|
|
|
#endif
|
2016-11-07 21:35:14 +01:00
|
|
|
#endif
|
|
|
|
#if ENABLED(Y2_IS_TMC2130)
|
2017-04-15 05:44:08 +02:00
|
|
|
_TMC2130_INIT(Y2, steps_per_mm[Y_AXIS]);
|
2016-11-07 21:35:14 +01:00
|
|
|
#endif
|
|
|
|
#if ENABLED(Z_IS_TMC2130)
|
2017-04-15 05:44:08 +02:00
|
|
|
_TMC2130_INIT( Z, steps_per_mm[Z_AXIS]);
|
2016-11-07 21:35:14 +01:00
|
|
|
#endif
|
|
|
|
#if ENABLED(Z2_IS_TMC2130)
|
2017-04-15 05:44:08 +02:00
|
|
|
_TMC2130_INIT(Z2, steps_per_mm[Z_AXIS]);
|
2016-11-07 21:35:14 +01:00
|
|
|
#endif
|
|
|
|
#if ENABLED(E0_IS_TMC2130)
|
2017-04-15 05:44:08 +02:00
|
|
|
_TMC2130_INIT(E0, steps_per_mm[E_AXIS]);
|
2016-11-07 21:35:14 +01:00
|
|
|
#endif
|
|
|
|
#if ENABLED(E1_IS_TMC2130)
|
2017-04-15 05:44:08 +02:00
|
|
|
{ constexpr int extruder = 1; _TMC2130_INIT(E1, steps_per_mm[E_AXIS_N]); }
|
2016-11-07 21:35:14 +01:00
|
|
|
#endif
|
|
|
|
#if ENABLED(E2_IS_TMC2130)
|
2017-04-15 05:44:08 +02:00
|
|
|
{ constexpr int extruder = 2; _TMC2130_INIT(E2, steps_per_mm[E_AXIS_N]); }
|
2016-11-07 21:35:14 +01:00
|
|
|
#endif
|
|
|
|
#if ENABLED(E3_IS_TMC2130)
|
2017-04-15 05:44:08 +02:00
|
|
|
{ constexpr int extruder = 3; _TMC2130_INIT(E3, steps_per_mm[E_AXIS_N]); }
|
2016-11-07 21:35:14 +01:00
|
|
|
#endif
|
2017-04-09 10:23:05 +02:00
|
|
|
#if ENABLED(E4_IS_TMC2130)
|
2017-04-15 05:44:08 +02:00
|
|
|
{ constexpr int extruder = 4; _TMC2130_INIT(E4, steps_per_mm[E_AXIS_N]); }
|
2017-04-09 10:23:05 +02:00
|
|
|
#endif
|
2017-03-07 06:00:43 +01:00
|
|
|
|
|
|
|
TMC2130_ADV()
|
2016-11-07 21:35:14 +01:00
|
|
|
}
|
2017-03-07 06:00:43 +01:00
|
|
|
#endif // HAVE_TMC2130
|
2016-11-07 21:35:14 +01:00
|
|
|
|
2016-09-14 08:48:47 +02:00
|
|
|
|
2016-11-07 21:46:01 +01:00
|
|
|
//
|
2015-02-27 12:43:23 +01:00
|
|
|
// L6470 Driver objects and inits
|
2016-11-07 21:46:01 +01:00
|
|
|
//
|
2015-07-31 07:28:11 +02:00
|
|
|
#if ENABLED(HAVE_L6470DRIVER)
|
2016-11-07 21:46:01 +01:00
|
|
|
|
2015-10-03 08:08:58 +02:00
|
|
|
#include <SPI.h>
|
|
|
|
#include <L6470.h>
|
2015-02-27 12:43:23 +01:00
|
|
|
|
2017-03-07 06:00:43 +01:00
|
|
|
#define _L6470_DEFINE(ST) L6470 stepper##ST(ST##_ENABLE_PIN)
|
|
|
|
|
2016-11-07 21:46:01 +01:00
|
|
|
// L6470 Stepper objects
|
2015-07-31 07:28:11 +02:00
|
|
|
#if ENABLED(X_IS_L6470)
|
2017-03-07 06:00:43 +01:00
|
|
|
_L6470_DEFINE(X);
|
2015-07-31 07:28:11 +02:00
|
|
|
#endif
|
|
|
|
#if ENABLED(X2_IS_L6470)
|
2017-03-07 06:00:43 +01:00
|
|
|
_L6470_DEFINE(X2);
|
2015-07-31 07:28:11 +02:00
|
|
|
#endif
|
|
|
|
#if ENABLED(Y_IS_L6470)
|
2017-03-07 06:00:43 +01:00
|
|
|
_L6470_DEFINE(Y);
|
2015-07-31 07:28:11 +02:00
|
|
|
#endif
|
|
|
|
#if ENABLED(Y2_IS_L6470)
|
2017-03-07 06:00:43 +01:00
|
|
|
_L6470_DEFINE(Y2);
|
2015-07-31 07:28:11 +02:00
|
|
|
#endif
|
|
|
|
#if ENABLED(Z_IS_L6470)
|
2017-03-07 06:00:43 +01:00
|
|
|
_L6470_DEFINE(Z);
|
2015-07-31 07:28:11 +02:00
|
|
|
#endif
|
|
|
|
#if ENABLED(Z2_IS_L6470)
|
2017-03-07 06:00:43 +01:00
|
|
|
_L6470_DEFINE(Z2);
|
2015-07-31 07:28:11 +02:00
|
|
|
#endif
|
|
|
|
#if ENABLED(E0_IS_L6470)
|
2017-03-07 06:00:43 +01:00
|
|
|
_L6470_DEFINE(E0);
|
2015-07-31 07:28:11 +02:00
|
|
|
#endif
|
|
|
|
#if ENABLED(E1_IS_L6470)
|
2017-03-07 06:00:43 +01:00
|
|
|
_L6470_DEFINE(E1);
|
2015-07-31 07:28:11 +02:00
|
|
|
#endif
|
|
|
|
#if ENABLED(E2_IS_L6470)
|
2017-03-07 06:00:43 +01:00
|
|
|
_L6470_DEFINE(E2);
|
2015-07-31 07:28:11 +02:00
|
|
|
#endif
|
|
|
|
#if ENABLED(E3_IS_L6470)
|
2017-03-07 06:00:43 +01:00
|
|
|
_L6470_DEFINE(E3);
|
2015-10-03 08:08:58 +02:00
|
|
|
#endif
|
2017-04-09 10:23:05 +02:00
|
|
|
#if ENABLED(E4_IS_L6470)
|
|
|
|
_L6470_DEFINE(E4);
|
|
|
|
#endif
|
2016-11-07 21:46:01 +01:00
|
|
|
|
|
|
|
#define _L6470_INIT(A) do{ \
|
2017-09-07 10:36:39 +02:00
|
|
|
stepper##A.init(); \
|
2016-11-07 21:46:01 +01:00
|
|
|
stepper##A.softFree(); \
|
|
|
|
stepper##A.setMicroSteps(A##_MICROSTEPS); \
|
|
|
|
stepper##A.setOverCurrent(A##_OVERCURRENT); \
|
|
|
|
stepper##A.setStallCurrent(A##_STALLCURRENT); \
|
2017-06-15 22:17:41 +02:00
|
|
|
}while(0)
|
2016-11-07 21:46:01 +01:00
|
|
|
|
|
|
|
void L6470_init() {
|
|
|
|
#if ENABLED(X_IS_L6470)
|
|
|
|
_L6470_INIT(X);
|
|
|
|
#endif
|
|
|
|
#if ENABLED(X2_IS_L6470)
|
|
|
|
_L6470_INIT(X2);
|
|
|
|
#endif
|
|
|
|
#if ENABLED(Y_IS_L6470)
|
|
|
|
_L6470_INIT(Y);
|
|
|
|
#endif
|
|
|
|
#if ENABLED(Y2_IS_L6470)
|
|
|
|
_L6470_INIT(Y2);
|
|
|
|
#endif
|
|
|
|
#if ENABLED(Z_IS_L6470)
|
|
|
|
_L6470_INIT(Z);
|
|
|
|
#endif
|
|
|
|
#if ENABLED(Z2_IS_L6470)
|
|
|
|
_L6470_INIT(Z2);
|
|
|
|
#endif
|
|
|
|
#if ENABLED(E0_IS_L6470)
|
|
|
|
_L6470_INIT(E0);
|
|
|
|
#endif
|
|
|
|
#if ENABLED(E1_IS_L6470)
|
|
|
|
_L6470_INIT(E1);
|
|
|
|
#endif
|
|
|
|
#if ENABLED(E2_IS_L6470)
|
|
|
|
_L6470_INIT(E2);
|
|
|
|
#endif
|
|
|
|
#if ENABLED(E3_IS_L6470)
|
|
|
|
_L6470_INIT(E3);
|
|
|
|
#endif
|
2017-04-09 10:23:05 +02:00
|
|
|
#if ENABLED(E4_IS_L6470)
|
|
|
|
_L6470_INIT(E4);
|
|
|
|
#endif
|
2016-11-07 21:46:01 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
#endif // HAVE_L6470DRIVER
|
2015-02-27 12:43:23 +01:00
|
|
|
|