Sfoglia il codice sorgente

Merge pull request #552 from iXce/Marlin_v1

Report temperatures for all extruders in reply to M105
ErikZalm 11 anni fa
parent
commit
434b6a05c1
1 ha cambiato i file con 8 aggiunte e 0 eliminazioni
  1. 8
    0
      Marlin/Marlin_main.cpp

+ 8
- 0
Marlin/Marlin_main.cpp Vedi File

@@ -1219,6 +1219,14 @@ void process_commands()
1219 1219
           SERIAL_PROTOCOLPGM(" /");
1220 1220
           SERIAL_PROTOCOL_F(degTargetBed(),1);
1221 1221
         #endif //TEMP_BED_PIN
1222
+        for (int8_t cur_extruder = 0; cur_extruder < EXTRUDERS; ++cur_extruder) {
1223
+          SERIAL_PROTOCOLPGM(" T");
1224
+          SERIAL_PROTOCOL(cur_extruder);
1225
+          SERIAL_PROTOCOLPGM(":");
1226
+          SERIAL_PROTOCOL_F(degHotend(cur_extruder),1); 
1227
+          SERIAL_PROTOCOLPGM(" /");
1228
+          SERIAL_PROTOCOL_F(degTargetHotend(cur_extruder),1); 
1229
+        }
1222 1230
       #else
1223 1231
         SERIAL_ERROR_START;
1224 1232
         SERIAL_ERRORLNPGM(MSG_ERR_NO_THERMISTORS);

Loading…
Annulla
Salva