diff --git a/config.default.h b/config.default.h index 5da1aa1..36de95a 100644 --- a/config.default.h +++ b/config.default.h @@ -94,9 +94,6 @@ */ // #define SLOW_HOMING -/// this is how many steps to suck back the filament by when we stop. set to zero to disable -#define E_STARTSTOP_STEPS 20 - /** Soft axis limits, in mm. Define them to your machine's size relative to what your host considers to be the origin. diff --git a/config.gen3.h b/config.gen3.h index c7a2320..829bb32 100644 --- a/config.gen3.h +++ b/config.gen3.h @@ -95,9 +95,6 @@ */ // #define SLOW_HOMING -/// this is how many steps to suck back the filament by when we stop. set to zero to disable -#define E_STARTSTOP_STEPS 20 - /** Soft axis limits, in mm. Define them to your machine's size relative to what your host considers to be the origin. diff --git a/config.gen6.h b/config.gen6.h index 94ec863..476a210 100644 --- a/config.gen6.h +++ b/config.gen6.h @@ -96,9 +96,6 @@ */ // #define SLOW_HOMING -/// this is how many steps to suck back the filament by when we stop. set to zero to disable -#define E_STARTSTOP_STEPS 20 - /** Soft axis limits, in mm. Define them to your machine's size relative to what your host considers to be the origin. diff --git a/config.gen7-v1.1-v1.3.h b/config.gen7-v1.1-v1.3.h index affbe7a..66c46cf 100644 --- a/config.gen7-v1.1-v1.3.h +++ b/config.gen7-v1.1-v1.3.h @@ -102,9 +102,6 @@ */ // #define SLOW_HOMING -/// this is how many steps to suck back the filament by when we stop. set to zero to disable -#define E_STARTSTOP_STEPS 289 - /** Soft axis limits, in mm. Define them to your machine's size relative to what your host considers to be the origin. diff --git a/config.gen7-v1.4.h b/config.gen7-v1.4.h index 2e87e5f..55b27ee 100644 --- a/config.gen7-v1.4.h +++ b/config.gen7-v1.4.h @@ -102,9 +102,6 @@ */ // #define SLOW_HOMING -/// this is how many steps to suck back the filament by when we stop. set to zero to disable -#define E_STARTSTOP_STEPS 289 - /** Soft axis limits, in mm. Define them to your machine's size relative to what your host considers to be the origin. diff --git a/config.ramps-v1.2.h b/config.ramps-v1.2.h index aa7f564..ba9c682 100644 --- a/config.ramps-v1.2.h +++ b/config.ramps-v1.2.h @@ -96,10 +96,6 @@ */ // #define SLOW_HOMING -/// this is how many steps to suck back the filament by when we stop. set to zero to disable -#define E_STARTSTOP_STEPS 0 - - /** Soft axis limits, in mm undefine if you don't want to use them diff --git a/config.ramps-v1.3.h b/config.ramps-v1.3.h index 3cbb338..9297585 100644 --- a/config.ramps-v1.3.h +++ b/config.ramps-v1.3.h @@ -96,9 +96,6 @@ */ // #define SLOW_HOMING -/// this is how many steps to suck back the filament by when we stop. set to zero to disable -#define E_STARTSTOP_STEPS 0 - /** Soft axis limits, in mm. Define them to your machine's size relative to what your host considers to be the origin. diff --git a/config.sanguinololu-v1.1.h b/config.sanguinololu-v1.1.h index 328aea8..719ea2c 100644 --- a/config.sanguinololu-v1.1.h +++ b/config.sanguinololu-v1.1.h @@ -95,10 +95,6 @@ */ // #define SLOW_HOMING -/// this is how many steps to suck back the filament by when we stop. set to zero to disable -#define E_STARTSTOP_STEPS 20 - - /** Soft axis limits, in mm. Define them to your machine's size relative to what your host considers to be the origin. diff --git a/config.sanguinololu-v1.2.h b/config.sanguinololu-v1.2.h index 0005e80..5a039c8 100644 --- a/config.sanguinololu-v1.2.h +++ b/config.sanguinololu-v1.2.h @@ -95,10 +95,6 @@ */ // #define SLOW_HOMING -/// this is how many steps to suck back the filament by when we stop. set to zero to disable -#define E_STARTSTOP_STEPS 20 - - /** Soft axis limits, in mm. Define them to your machine's size relative to what your host considers to be the origin. diff --git a/config.sanguish.h b/config.sanguish.h index 1aa9e99..985c458 100644 --- a/config.sanguish.h +++ b/config.sanguish.h @@ -102,9 +102,6 @@ */ // #define SLOW_HOMING -/// this is how many steps to suck back the filament by when we stop. set to zero to disable -#define E_STARTSTOP_STEPS 20 - /** Soft axis limits, in mm. Define them to your machine's size relative to what your host considers to be the origin. diff --git a/config.teensy.h b/config.teensy.h index c9b1c85..1b22663 100644 --- a/config.teensy.h +++ b/config.teensy.h @@ -109,9 +109,6 @@ MXL 2.032 mm/tooth, 29 */ // #define SLOW_HOMING -/// this is how many steps to suck back the filament by when we stop. set to zero to disable -#define E_STARTSTOP_STEPS 20 - /** Soft axis limits, in mm. Define them to your machine's size relative to what your host considers to be the origin. diff --git a/config.teensypp.h b/config.teensypp.h index 0cc28bd..3620754 100644 --- a/config.teensypp.h +++ b/config.teensypp.h @@ -110,9 +110,6 @@ GT2 2.000 mm/tooth, 20 teeth */ // #define SLOW_HOMING -/// this is how many steps to suck back the filament by when we stop. set to zero to disable -#define E_STARTSTOP_STEPS 20 - /** Soft axis limits, in mm. Define them to your machine's size relative to what your host considers to be the origin. diff --git a/gcode_process.c b/gcode_process.c index c8b097d..9460fdd 100644 --- a/gcode_process.c +++ b/gcode_process.c @@ -34,20 +34,6 @@ uint8_t tool; uint8_t next_tool; -/* - private functions - - this is where we construct a move without a gcode command, useful for gcodes which require multiple moves eg; homing -*/ - -#if E_STARTSTOP_STEPS > 0 -/// move E by a certain amount at a certain speed -static void SpecialMoveE(int32_t e, uint32_t f) { - TARGET t = { 0L, 0L, 0L, e, f, 1 }; - enqueue(&t); -} -#endif /* E_STARTSTOP_STEPS > 0 */ - /************************************************************************//** \brief Processes command stored in global \ref next_target. @@ -424,19 +410,9 @@ void process_gcode_command() { } #ifdef DC_EXTRUDER heater_set(DC_EXTRUDER, DC_EXTRUDER_PWM); - #elif E_STARTSTOP_STEPS > 0 - do { - // backup feedrate, move E very quickly then restore feedrate - backup_f = startpoint.F; - startpoint.F = MAXIMUM_FEEDRATE_E; - SpecialMoveE(E_STARTSTOP_STEPS, MAXIMUM_FEEDRATE_E); - startpoint.F = backup_f; - } while (0); #endif break; - // M102- extruder reverse - // M5/M103- extruder off case 5: case 103: @@ -445,14 +421,6 @@ void process_gcode_command() { //? Undocumented. #ifdef DC_EXTRUDER heater_set(DC_EXTRUDER, 0); - #elif E_STARTSTOP_STEPS > 0 - do { - // backup feedrate, move E very quickly then restore feedrate - backup_f = startpoint.F; - startpoint.F = MAXIMUM_FEEDRATE_E; - SpecialMoveE(-E_STARTSTOP_STEPS, MAXIMUM_FEEDRATE_E); - startpoint.F = backup_f; - } while (0); #endif break;