T code for SNMM_V2 fix
This commit is contained in:
parent
285f2ccbd9
commit
9235ffb497
1 changed files with 9 additions and 10 deletions
|
@ -6991,7 +6991,7 @@ Sigma_Exit:
|
||||||
}
|
}
|
||||||
snmm_filaments_used |= (1 << tmp_extruder); //for stop print
|
snmm_filaments_used |= (1 << tmp_extruder); //for stop print
|
||||||
|
|
||||||
#ifdef SNMM_V2
|
#if defined (SNMM_V2)
|
||||||
printf_P(PSTR("T code: %d \n"), tmp_extruder);
|
printf_P(PSTR("T code: %d \n"), tmp_extruder);
|
||||||
fprintf_P(uart2io, PSTR("T%d\n"), tmp_extruder);
|
fprintf_P(uart2io, PSTR("T%d\n"), tmp_extruder);
|
||||||
|
|
||||||
|
@ -7004,9 +7004,8 @@ Sigma_Exit:
|
||||||
mmu_load_to_nozzle();
|
mmu_load_to_nozzle();
|
||||||
|
|
||||||
}
|
}
|
||||||
#endif
|
#elif defined(SNMM)
|
||||||
|
|
||||||
#ifdef SNMM
|
|
||||||
|
|
||||||
#ifdef LIN_ADVANCE
|
#ifdef LIN_ADVANCE
|
||||||
if (snmm_extruder != tmp_extruder)
|
if (snmm_extruder != tmp_extruder)
|
||||||
|
@ -7053,7 +7052,7 @@ Sigma_Exit:
|
||||||
}
|
}
|
||||||
delay(100);
|
delay(100);
|
||||||
|
|
||||||
#else
|
#else //SNMM and SNMM_V2 undefined:
|
||||||
if (tmp_extruder >= EXTRUDERS) {
|
if (tmp_extruder >= EXTRUDERS) {
|
||||||
SERIAL_ECHO_START;
|
SERIAL_ECHO_START;
|
||||||
SERIAL_ECHOPGM("T");
|
SERIAL_ECHOPGM("T");
|
||||||
|
|
Loading…
Reference in a new issue