optimisation: re-use serialecho_temperatures()
Change in memory: Flash: -82 bytes SRAM: 0 bytes
This commit is contained in:
parent
f1cd388370
commit
fa0a522b7d
|
|
@ -6206,14 +6206,7 @@ Sigma_Exit:
|
||||||
if(( _millis() - codenum) > 1000 ) //Print Temp Reading every 1 second while heating up.
|
if(( _millis() - codenum) > 1000 ) //Print Temp Reading every 1 second while heating up.
|
||||||
{
|
{
|
||||||
if (!farm_mode) {
|
if (!farm_mode) {
|
||||||
float tt = degHotend(active_extruder);
|
serialecho_temperatures();
|
||||||
SERIAL_PROTOCOLPGM("T:");
|
|
||||||
SERIAL_PROTOCOL(tt);
|
|
||||||
SERIAL_PROTOCOLPGM(" E:");
|
|
||||||
SERIAL_PROTOCOL((int)active_extruder);
|
|
||||||
SERIAL_PROTOCOLPGM(" B:");
|
|
||||||
SERIAL_PROTOCOL_F(degBed(), 1);
|
|
||||||
SERIAL_PROTOCOLLN();
|
|
||||||
}
|
}
|
||||||
codenum = _millis();
|
codenum = _millis();
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue