'M105 R' to report redundant temp sensor (#14324)
This commit is contained in:
committed by
Scott Lahteine
parent
39c0c2aebe
commit
81209f5310
@ -33,7 +33,11 @@ void GcodeSuite::M105() {
|
||||
|
||||
#if HAS_TEMP_SENSOR
|
||||
SERIAL_ECHOPGM(MSG_OK);
|
||||
thermalManager.print_heater_states(target_extruder);
|
||||
thermalManager.print_heater_states(target_extruder
|
||||
#if ENABLED(TEMP_SENSOR_1_AS_REDUNDANT)
|
||||
, parser.boolval('R')
|
||||
#endif
|
||||
);
|
||||
#else // !HAS_TEMP_SENSOR
|
||||
SERIAL_ERROR_MSG(MSG_ERR_NO_THERMISTORS);
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user