Fix for Fwretract bugfix1.1.x (#9872)

This commit is contained in:
Studiodyne 2018-03-01 09:59:42 +01:00 committed by Scott Lahteine
parent 951b65c2de
commit d25f0a5a21
2 changed files with 3 additions and 9 deletions

View File

@ -856,7 +856,8 @@
* With auto-retract enabled, all G1 E moves within the set range
* will be converted to firmware-based retract/recover moves.
*
* Be sure to turn off auto-retract during filament change.
* Note: Be sure to turn off auto-retract during filament change.
* Note: Current status (Retract / Swap / Zlift) isn't reset by G28.
*
* Note that M207 / M208 / M209 settings are saved to EEPROM.
*

View File

@ -3122,12 +3122,6 @@ static void homeaxis(const AxisEnum axis) {
if (axis == Z_AXIS && STOW_PROBE()) return;
#endif
// Clear retracted status if homing the Z axis
#if ENABLED(FWRETRACT)
if (axis == Z_AXIS)
for (uint8_t i = 0; i < EXTRUDERS; i++) fwretract.retracted[i] = false;
#endif
#if ENABLED(DEBUG_LEVELING_FEATURE)
if (DEBUGGING(LEVELING)) {
SERIAL_ECHOPAIR("<<< homeaxis(", axis_codes[axis]);
@ -3474,8 +3468,7 @@ inline void gcode_G4() {
*/
inline void gcode_G10() {
#if EXTRUDERS > 1
const bool rs = parser.boolval('S');
fwretract.retracted_swap[active_extruder] = rs; // Use 'S' for swap, default to false
const bool rs = parser.boolval('S');
#endif
fwretract.retract(true
#if EXTRUDERS > 1