Merge pull request #55 from XPila/MK3
Silent/High Power mode switching with crashdetection.
This commit is contained in:
commit
5649e7be9d
4 changed files with 29 additions and 28 deletions
|
@ -182,6 +182,7 @@ uint8_t tmc2130_sample_diag()
|
|||
|
||||
void tmc2130_st_isr(uint8_t last_step_mask)
|
||||
{
|
||||
if (tmc2130_mode == TMC2130_MODE_SILENT) return;
|
||||
bool error = false;
|
||||
uint8_t diag_mask = tmc2130_sample_diag();
|
||||
for (uint8_t axis = X_AXIS; axis <= Y_AXIS; axis++)
|
||||
|
|
Loading…
Reference in a new issue