Merge pull request #66 from XPila/MK3

PWM_GRAD back to 4 (trinamic suggested value), standstilltimeout = 1000
This commit is contained in:
XPila 2017-09-26 13:08:41 +02:00 committed by GitHub
commit 4f4a054f30
2 changed files with 3 additions and 3 deletions

View File

@ -112,12 +112,12 @@ const bool Z_MIN_ENDSTOP_INVERTING = false; // set to true to invert the logic o
#define TMC2130_INTPOL_Z 1 // extrapolate 256 for Z axis
#define TMC2130_INTPOL_E 1 // extrapolate 256 for E axis
#define TMC2130_PWM_GRAD_X 8 // PWMCONF
#define TMC2130_PWM_GRAD_X 4 // PWMCONF
#define TMC2130_PWM_AMPL_X 220 // PWMCONF
#define TMC2130_PWM_AUTO_X 1 // PWMCONF
#define TMC2130_PWM_FREQ_X 2 // PWMCONF
#define TMC2130_PWM_GRAD_Y 8 // PWMCONF
#define TMC2130_PWM_GRAD_Y 4 // PWMCONF
#define TMC2130_PWM_AMPL_Y 225 // PWMCONF
#define TMC2130_PWM_AUTO_Y 1 // PWMCONF
#define TMC2130_PWM_FREQ_Y 2 // PWMCONF

View File

@ -2533,7 +2533,7 @@ static void lcd_silent_mode_set() {
eeprom_update_byte((unsigned char *)EEPROM_SILENT, SilentModeMenu);
#ifdef TMC2130
st_synchronize();
if (tmc2130_wait_standstill_xy(100))
if (tmc2130_wait_standstill_xy(1000))
MYSERIAL.print("standstill OK");
else
MYSERIAL.print("standstill NG!");