case208:// M208 - set retract recover length S[positive mm surplus to the M207 S*] F[feedrate mm/min]
{
if(code_seen('S'))
...
...
@@ -4180,7 +4189,8 @@ Sigma_Exit:
{
retract_recover_feedrate=code_value()/60;
}
}break;
}
break;
case209:// M209 - S<1=true/0=false> enable automatic retract detect if the slicer did not support G10/11: every normal extrude-only move will be classified as retract depending on the direction.
{
if(code_seen('S'))
...
...
@@ -4192,30 +4202,32 @@ Sigma_Exit:
{
autoretract_enabled=false;
retracted[0]=false;
#if EXTRUDERS > 1
#if EXTRUDERS > 1
retracted[1]=false;
#endif
#if EXTRUDERS > 2
#endif
#if EXTRUDERS > 2
retracted[2]=false;
#endif
#if EXTRUDERS > 3
#endif
#if EXTRUDERS > 3
retracted[3]=false;
#endif
}break;
#endif
}
break;
case1:
{
autoretract_enabled=true;
retracted[0]=false;
#if EXTRUDERS > 1
#if EXTRUDERS > 1
retracted[1]=false;
#endif
#if EXTRUDERS > 2
#endif
#if EXTRUDERS > 2
retracted[2]=false;
#endif
#if EXTRUDERS > 3
#endif
#if EXTRUDERS > 3
retracted[3]=false;
#endif
}break;
#endif
}
break;
default:
SERIAL_ECHO_START;
SERIAL_ECHOPGM(MSG_UNKNOWN_COMMAND);
...
...
@@ -4224,12 +4236,12 @@ Sigma_Exit:
}
}
}break;
#endif // FWRETRACT
}
break;
#endif // FWRETRACT
#ifndef SINGLENOZZLE
#if EXTRUDERS > 1
#if EXTRUDERS > 1
case218:// M218 - set hotend offset (in mm), T<extruder_number> X<offset_on_X> Y<offset_on_Y>