crashdetection limits changed (X=48, Y=64)
This commit is contained in:
parent
6b5f9253d6
commit
c2710fea63
@ -239,7 +239,9 @@ void tmc2130_st_isr(uint8_t last_step_mask)
|
||||
{
|
||||
tmc2130_sg_cnt[axis] = tmc2130_sg_err[axis];
|
||||
tmc2130_sg_change = true;
|
||||
if (tmc2130_sg_err[axis] >= 32)
|
||||
uint8_t sg_thr = 48;
|
||||
if (axis == Y_AXIS) sg_thr = 64;
|
||||
if (tmc2130_sg_err[axis] >= sg_thr)
|
||||
{
|
||||
tmc2130_sg_err[axis] = 0;
|
||||
crash = true;
|
||||
|
Loading…
Reference in New Issue
Block a user