️ Improve Sensorless homing/probing for G28, G33 (#21899)

This commit is contained in:
lujios
2021-07-13 02:19:29 +02:00
committed by Scott Lahteine
parent 399a240f84
commit ee54cd4bd7
10 changed files with 197 additions and 25 deletions

View File

@ -360,13 +360,6 @@ void test_tmc_connection(LOGICAL_AXIS_DECL(const bool, true));
#if ENABLED(IMPROVE_HOMING_RELIABILITY)
extern millis_t sg_guard_period;
constexpr uint16_t default_sg_guard_duration = 400;
struct motion_state_t {
xy_ulong_t acceleration;
#if HAS_CLASSIC_JERK
xy_float_t jerk_state;
#endif
};
#endif
bool tmc_enable_stallguard(TMC2130Stepper &st);