Hotfix for first round of post-release hiccups
This commit is contained in:
commit
84b96d3d47
|
@ -68,7 +68,7 @@ void print_bin(uint16_t val) {
|
||||||
extern const char SP_X_STR[], SP_Y_STR[], SP_Z_STR[];
|
extern const char SP_X_STR[], SP_Y_STR[], SP_Z_STR[];
|
||||||
|
|
||||||
void print_xyz(const float &x, const float &y, const float &z, PGM_P const prefix/*=nullptr*/, PGM_P const suffix/*=nullptr*/) {
|
void print_xyz(const float &x, const float &y, const float &z, PGM_P const prefix/*=nullptr*/, PGM_P const suffix/*=nullptr*/) {
|
||||||
serialprintPGM(prefix);
|
if (prefix) serialprintPGM(prefix);
|
||||||
SERIAL_ECHOPAIR_P(SP_X_STR, x, SP_Y_STR, y, SP_Z_STR, z);
|
SERIAL_ECHOPAIR_P(SP_X_STR, x, SP_Y_STR, y, SP_Z_STR, z);
|
||||||
if (suffix) serialprintPGM(suffix); else SERIAL_EOL();
|
if (suffix) serialprintPGM(suffix); else SERIAL_EOL();
|
||||||
}
|
}
|
||||||
|
|
|
@ -3047,8 +3047,8 @@ static_assert( _ARR_TEST(3,0) && _ARR_TEST(3,1) && _ARR_TEST(3,2)
|
||||||
/**
|
/**
|
||||||
* Sanity check for WIFI
|
* Sanity check for WIFI
|
||||||
*/
|
*/
|
||||||
#if ENABLED(ESP3D_WIFISUPPORT) && DISABLED(ARDUINO_ARCH_ESP32)
|
#if EITHER(ESP3D_WIFISUPPORT, WIFISUPPORT) && DISABLED(ARDUINO_ARCH_ESP32)
|
||||||
#error "ESP3D_WIFISUPPORT requires an ESP32 controller. Use WIFISUPPORT for standalone ESP3D modules."
|
#error "ESP3D_WIFISUPPORT or WIFISUPPORT requires an ESP32 controller."
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
// Misc. Cleanup
|
// Misc. Cleanup
|
||||||
|
|
|
@ -42,7 +42,7 @@
|
||||||
* version was tagged.
|
* version was tagged.
|
||||||
*/
|
*/
|
||||||
#ifndef STRING_DISTRIBUTION_DATE
|
#ifndef STRING_DISTRIBUTION_DATE
|
||||||
#define STRING_DISTRIBUTION_DATE "2020-07-27"
|
#define STRING_DISTRIBUTION_DATE "2020-07-28"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
@ -242,11 +242,9 @@ void home_delta() {
|
||||||
|
|
||||||
// Disable stealthChop if used. Enable diag1 pin on driver.
|
// Disable stealthChop if used. Enable diag1 pin on driver.
|
||||||
#if ENABLED(SENSORLESS_HOMING)
|
#if ENABLED(SENSORLESS_HOMING)
|
||||||
sensorless_t stealth_states {
|
TERN_(X_SENSORLESS, sensorless_t stealth_states_x = start_sensorless_homing_per_axis(X_AXIS));
|
||||||
tmc_enable_stallguard(stepperX),
|
TERN_(Y_SENSORLESS, sensorless_t stealth_states_y = start_sensorless_homing_per_axis(Y_AXIS));
|
||||||
tmc_enable_stallguard(stepperY),
|
TERN_(Z_SENSORLESS, sensorless_t stealth_states_z = start_sensorless_homing_per_axis(Z_AXIS));
|
||||||
tmc_enable_stallguard(stepperZ)
|
|
||||||
};
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
// Move all carriages together linearly until an endstop is hit.
|
// Move all carriages together linearly until an endstop is hit.
|
||||||
|
@ -256,9 +254,9 @@ void home_delta() {
|
||||||
|
|
||||||
// Re-enable stealthChop if used. Disable diag1 pin on driver.
|
// Re-enable stealthChop if used. Disable diag1 pin on driver.
|
||||||
#if ENABLED(SENSORLESS_HOMING)
|
#if ENABLED(SENSORLESS_HOMING)
|
||||||
tmc_disable_stallguard(stepperX, stealth_states.x);
|
TERN_(X_SENSORLESS, end_sensorless_homing_per_axis(X_AXIS, stealth_states_x));
|
||||||
tmc_disable_stallguard(stepperY, stealth_states.y);
|
TERN_(Y_SENSORLESS, end_sensorless_homing_per_axis(Y_AXIS, stealth_states_y));
|
||||||
tmc_disable_stallguard(stepperZ, stealth_states.z);
|
TERN_(Z_SENSORLESS, end_sensorless_homing_per_axis(Z_AXIS, stealth_states_z));
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
endstops.validate_homing_move();
|
endstops.validate_homing_move();
|
||||||
|
|
|
@ -395,3 +395,9 @@ void homeaxis(const AxisEnum axis);
|
||||||
#if HAS_M206_COMMAND
|
#if HAS_M206_COMMAND
|
||||||
void set_home_offset(const AxisEnum axis, const float v);
|
void set_home_offset(const AxisEnum axis, const float v);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#if USE_SENSORLESS
|
||||||
|
struct sensorless_t;
|
||||||
|
sensorless_t start_sensorless_homing_per_axis(const AxisEnum axis);
|
||||||
|
void end_sensorless_homing_per_axis(const AxisEnum axis, sensorless_t enable_stealth);
|
||||||
|
#endif
|
||||||
|
|
Loading…
Reference in a new issue