Also reset LA10C when disabling LA with K0
As pointed out by @leptun, with MMUs the combination of old/new filament profiles in the same print is a likely scenario as we transition towards LA1.5. Reset the detection state also with K0.
This commit is contained in:
parent
5082f2a36e
commit
2f4f4547c6
1 changed files with 2 additions and 1 deletions
|
@ -2072,9 +2072,10 @@ inline void gcode_M900() {
|
||||||
SERIAL_ECHOLNPGM("K out of allowed range!");
|
SERIAL_ECHOLNPGM("K out of allowed range!");
|
||||||
#else
|
#else
|
||||||
if (newK == 0)
|
if (newK == 0)
|
||||||
|
{
|
||||||
extruder_advance_K = 0;
|
extruder_advance_K = 0;
|
||||||
else if (newK == -1)
|
|
||||||
la10c_reset();
|
la10c_reset();
|
||||||
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
newK = la10c_value(newK);
|
newK = la10c_value(newK);
|
||||||
|
|
Loading…
Reference in a new issue