Synchronize retractions
This commit is contained in:
committed by
Scott Lahteine
parent
f0d34ca4f5
commit
ae2173cd52
@ -34,7 +34,6 @@
|
||||
void GcodeSuite::G10() {
|
||||
#if EXTRUDERS > 1
|
||||
const bool rs = parser.boolval('S');
|
||||
fwretract.retracted_swap[active_extruder] = rs; // Use 'S' for swap, default to false
|
||||
#endif
|
||||
fwretract.retract(true
|
||||
#if EXTRUDERS > 1
|
||||
|
@ -65,8 +65,7 @@ void GcodeSuite::M208() {
|
||||
void GcodeSuite::M209() {
|
||||
if (MIN_AUTORETRACT <= MAX_AUTORETRACT) {
|
||||
if (parser.seen('S')) {
|
||||
fwretract.autoretract_enabled = parser.value_bool();
|
||||
for (uint8_t i = 0; i < EXTRUDERS; i++) fwretract.retracted[i] = false;
|
||||
fwretract.enable_autoretract(parser.value_bool());
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user