optimisation: re-use serialecho_temperatures()

Change in memory:
Flash: -82 bytes
SRAM: 0 bytes
This commit is contained in:
Guðni Már Gilbert 2023-01-09 18:29:32 +00:00 committed by DRracer
parent f1cd388370
commit fa0a522b7d
1 changed files with 1 additions and 8 deletions

View File

@ -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();