|
@@ -4100,10 +4100,10 @@ inline void gcode_M104() {
|
4100
|
4100
|
if (print_job_stop()) LCD_MESSAGEPGM(WELCOME_MSG);
|
4101
|
4101
|
}
|
4102
|
4102
|
|
4103
|
|
-#if HAS_TEMP_0 || HAS_TEMP_BED || ENABLED(HEATER_0_USES_MAX6675)
|
|
4103
|
+#if HAS_TEMP_HOTEND || HAS_TEMP_BED
|
4104
|
4104
|
|
4105
|
4105
|
void print_heaterstates() {
|
4106
|
|
- #if HAS_TEMP_0 || ENABLED(HEATER_0_USES_MAX6675)
|
|
4106
|
+ #if HAS_TEMP_HOTEND
|
4107
|
4107
|
SERIAL_PROTOCOLPGM(" T:");
|
4108
|
4108
|
SERIAL_PROTOCOL_F(degHotend(target_extruder), 1);
|
4109
|
4109
|
SERIAL_PROTOCOLPGM(" /");
|
|
@@ -4179,10 +4179,10 @@ inline void gcode_M104() {
|
4179
|
4179
|
inline void gcode_M105() {
|
4180
|
4180
|
if (setTargetedHotend(105)) return;
|
4181
|
4181
|
|
4182
|
|
- #if HAS_TEMP_0 || HAS_TEMP_BED || ENABLED(HEATER_0_USES_MAX6675)
|
|
4182
|
+ #if HAS_TEMP_HOTEND || HAS_TEMP_BED
|
4183
|
4183
|
SERIAL_PROTOCOLPGM(MSG_OK);
|
4184
|
4184
|
print_heaterstates();
|
4185
|
|
- #else // !HAS_TEMP_0 && !HAS_TEMP_BED
|
|
4185
|
+ #else // !HAS_TEMP_HOTEND && !HAS_TEMP_BED
|
4186
|
4186
|
SERIAL_ERROR_START;
|
4187
|
4187
|
SERIAL_ERRORLNPGM(MSG_ERR_NO_THERMISTORS);
|
4188
|
4188
|
#endif
|
|
@@ -4271,7 +4271,7 @@ inline void gcode_M109() {
|
4271
|
4271
|
now = millis();
|
4272
|
4272
|
if (now > next_temp_ms) { //Print temp & remaining time every 1s while waiting
|
4273
|
4273
|
next_temp_ms = now + 1000UL;
|
4274
|
|
- #if HAS_TEMP_0 || HAS_TEMP_BED || ENABLED(HEATER_0_USES_MAX6675)
|
|
4274
|
+ #if HAS_TEMP_HOTEND || HAS_TEMP_BED
|
4275
|
4275
|
print_heaterstates();
|
4276
|
4276
|
#endif
|
4277
|
4277
|
#ifdef TEMP_RESIDENCY_TIME
|