|
@@ -4468,8 +4468,7 @@ inline void gcode_M104() {
|
4468
|
4468
|
#endif
|
4469
|
4469
|
#if HOTENDS > 1
|
4470
|
4470
|
HOTEND_LOOP() {
|
4471
|
|
- SERIAL_PROTOCOLPGM(" T");
|
4472
|
|
- SERIAL_PROTOCOL(e);
|
|
4471
|
+ SERIAL_PROTOCOLPAIR(" T", e);
|
4473
|
4472
|
SERIAL_PROTOCOLCHAR(':');
|
4474
|
4473
|
SERIAL_PROTOCOL_F(thermalManager.degHotend(e), 1);
|
4475
|
4474
|
SERIAL_PROTOCOLPGM(" /");
|
|
@@ -4494,8 +4493,7 @@ inline void gcode_M104() {
|
4494
|
4493
|
#endif
|
4495
|
4494
|
#if HOTENDS > 1
|
4496
|
4495
|
HOTEND_LOOP() {
|
4497
|
|
- SERIAL_PROTOCOLPGM(" @");
|
4498
|
|
- SERIAL_PROTOCOL(e);
|
|
4496
|
+ SERIAL_PROTOCOLPAIR(" @", e);
|
4499
|
4497
|
SERIAL_PROTOCOLCHAR(':');
|
4500
|
4498
|
#ifdef EXTRUDER_WATTS
|
4501
|
4499
|
SERIAL_PROTOCOL(((EXTRUDER_WATTS) * thermalManager.getHeaterPower(e)) / 127);
|
|
@@ -4507,20 +4505,15 @@ inline void gcode_M104() {
|
4507
|
4505
|
#endif
|
4508
|
4506
|
#if ENABLED(SHOW_TEMP_ADC_VALUES)
|
4509
|
4507
|
#if HAS_TEMP_BED
|
4510
|
|
- SERIAL_PROTOCOLPGM(" ADC B:");
|
4511
|
|
- SERIAL_PROTOCOL_F(thermalManager.degBed(), 1);
|
4512
|
|
- SERIAL_PROTOCOLPGM("C->");
|
4513
|
|
- SERIAL_PROTOCOL_F(thermalManager.rawBedTemp() / OVERSAMPLENR, 0);
|
|
4508
|
+ SERIAL_PROTOCOLPAIR(" ADC B:", thermalManager.current_temperature_bed_raw / OVERSAMPLENR);
|
4514
|
4509
|
#endif
|
4515
|
4510
|
HOTEND_LOOP() {
|
4516
|
|
- SERIAL_PROTOCOLPGM(" T");
|
4517
|
|
- SERIAL_PROTOCOL(e);
|
|
4511
|
+ SERIAL_PROTOCOLPAIR(" T", e);
|
4518
|
4512
|
SERIAL_PROTOCOLCHAR(':');
|
4519
|
|
- SERIAL_PROTOCOL_F(thermalManager.degHotend(e), 1);
|
4520
|
|
- SERIAL_PROTOCOLPGM("C->");
|
4521
|
|
- SERIAL_PROTOCOL_F(thermalManager.rawHotendTemp(e) / OVERSAMPLENR, 0);
|
|
4513
|
+ SERIAL_PROTOCOL(thermalManager.current_temperature_raw[e] / OVERSAMPLENR);
|
4522
|
4514
|
}
|
4523
|
4515
|
#endif
|
|
4516
|
+ SERIAL_EOL;
|
4524
|
4517
|
}
|
4525
|
4518
|
#endif
|
4526
|
4519
|
|