Skip to content

Commit

Permalink
Merge pull request MarlinFirmware#552 from iXce/Marlin_v1
Browse files Browse the repository at this point in the history
Report temperatures for all extruders in reply to M105
  • Loading branch information
ErikZalm committed Jul 29, 2013
2 parents bdc2621 + 01ed991 commit 434b6a0
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions Marlin/Marlin_main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1219,6 +1219,14 @@ void process_commands()
SERIAL_PROTOCOLPGM(" /");
SERIAL_PROTOCOL_F(degTargetBed(),1);
#endif //TEMP_BED_PIN
for (int8_t cur_extruder = 0; cur_extruder < EXTRUDERS; ++cur_extruder) {
SERIAL_PROTOCOLPGM(" T");
SERIAL_PROTOCOL(cur_extruder);
SERIAL_PROTOCOLPGM(":");
SERIAL_PROTOCOL_F(degHotend(cur_extruder),1);
SERIAL_PROTOCOLPGM(" /");
SERIAL_PROTOCOL_F(degTargetHotend(cur_extruder),1);
}
#else
SERIAL_ERROR_START;
SERIAL_ERRORLNPGM(MSG_ERR_NO_THERMISTORS);
Expand Down

0 comments on commit 434b6a0

Please sign in to comment.