Silent/High Power mode switching with crashdetection.
This commit is contained in:
parent
d2ff47dac8
commit
89acf29247
4 changed files with 29 additions and 28 deletions
Firmware
|
@ -182,6 +182,7 @@ uint8_t tmc2130_sample_diag()
|
||||||
|
|
||||||
void tmc2130_st_isr(uint8_t last_step_mask)
|
void tmc2130_st_isr(uint8_t last_step_mask)
|
||||||
{
|
{
|
||||||
|
if (tmc2130_mode == TMC2130_MODE_SILENT) return;
|
||||||
bool error = false;
|
bool error = false;
|
||||||
uint8_t diag_mask = tmc2130_sample_diag();
|
uint8_t diag_mask = tmc2130_sample_diag();
|
||||||
for (uint8_t axis = X_AXIS; axis <= Y_AXIS; axis++)
|
for (uint8_t axis = X_AXIS; axis <= Y_AXIS; axis++)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue