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 (!farm_mode) {
|
||||
float tt = degHotend(active_extruder);
|
||||
SERIAL_PROTOCOLPGM("T:");
|
||||
SERIAL_PROTOCOL(tt);
|
||||
SERIAL_PROTOCOLPGM(" E:");
|
||||
SERIAL_PROTOCOL((int)active_extruder);
|
||||
SERIAL_PROTOCOLPGM(" B:");
|
||||
SERIAL_PROTOCOL_F(degBed(), 1);
|
||||
SERIAL_PROTOCOLLN();
|
||||
serialecho_temperatures();
|
||||
}
|
||||
codenum = _millis();
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue