diff --git a/src/config.h b/src/config.h index ed0e95b8..17aaba11 100644 --- a/src/config.h +++ b/src/config.h @@ -1,8 +1,8 @@ // config.h - main configuration file -#define FW_VERSION 302 // example: 103 means version 1.0.3 -#define FW_BUILDNR 362 // number of commits in 'master' +#define FW_VERSION 303 // example: 103 means version 1.0.3 +#define FW_BUILDNR 363 // number of commits in 'master' #define WAKE_TIMER 300000 // 5m @@ -67,7 +67,7 @@ #define CURRENT_HOLDING_NORMAL_LOADING { 1, 10, 40} #define CURRENT_RUNNING_STEALTH {35, 35, 40} #define CURRENT_RUNNING_NORMAL {30, 35, 40} -#define CURRENT_HOMING { 1, 35, 35} +#define CURRENT_HOMING { 1, 35, 30} // speeds and accelerations #define MAX_SPEED_SEL_DEF_NORMAL 6000 // micro steps diff --git a/src/motion.cpp b/src/motion.cpp index b256f43d..2697a865 100644 --- a/src/motion.cpp +++ b/src/motion.cpp @@ -464,16 +464,15 @@ MotReturn homeSelectorSmooth() MotReturn homeIdlerSmooth(bool toLastFilament) { uint32_t acc_backup = GLOBAL_ACC; - tmc2130_init(tmc2130_mode); // trinamic, normal moveSmooth(AX_IDL, -250, MAX_SPEED_IDLER, false); for (uint8_t c = 2; c > 0; c--) { // touch end 2 times tmc2130_init(HOMING_MODE); // trinamic, homing GLOBAL_ACC = GLOBAL_ACC_DEF_NORMAL; - moveSmooth(AX_IDL, 2600, 7000, false, true, 80000); - GLOBAL_ACC = acc_backup; + moveSmooth(AX_IDL, 2600, 6350, false, true); tmc2130_init(tmc2130_mode); // trinamic, homing - if (c > 1) moveSmooth(AX_IDL, -400, MAX_SPEED_IDLER, false, true, GLOBAL_ACC); + GLOBAL_ACC = acc_backup; + if (c > 1) moveSmooth(AX_IDL, -600, MAX_SPEED_IDLER, false); delay(50); } isIdlerParked = false;