T code for SNMM_V2 fix

This commit is contained in:
PavelSindler 2018-07-26 17:03:43 +02:00
parent 285f2ccbd9
commit 9235ffb497

View file

@ -6991,7 +6991,7 @@ Sigma_Exit:
}
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);
fprintf_P(uart2io, PSTR("T%d\n"), tmp_extruder);
@ -7004,9 +7004,8 @@ Sigma_Exit:
mmu_load_to_nozzle();
}
#endif
#elif defined(SNMM)
#ifdef SNMM
#ifdef LIN_ADVANCE
if (snmm_extruder != tmp_extruder)
@ -7053,7 +7052,7 @@ Sigma_Exit:
}
delay(100);
#else
#else //SNMM and SNMM_V2 undefined:
if (tmp_extruder >= EXTRUDERS) {
SERIAL_ECHO_START;
SERIAL_ECHOPGM("T");