Make the diag pins open collector with pullup.
Solves random crash detected on startup
This commit is contained in:
parent
bb57d99c35
commit
510f13b24a
4 changed files with 22 additions and 32 deletions
Firmware
|
@ -2201,7 +2201,7 @@ bool calibrate_z_auto()
|
|||
#ifdef TMC2130
|
||||
static void check_Z_crash(void)
|
||||
{
|
||||
if (READ(Z_TMC2130_DIAG) != 0) { //Z crash
|
||||
if (!READ(Z_TMC2130_DIAG)) { //Z crash
|
||||
FORCE_HIGH_POWER_END;
|
||||
current_position[Z_AXIS] = 0;
|
||||
plan_set_position_curposXYZE();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue