Browse Source

Add variant for MAX6675 in M104

Else will throw error:
@:0 B@:0
Error:No thermistors - no temperature
[ERROR] Error:No thermistors - no temperature

when no bed is defined
AnHardt 10 years ago
parent
commit
0fed46360c
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      Marlin/Marlin_main.cpp

+ 1
- 1
Marlin/Marlin_main.cpp View File

@@ -3152,7 +3152,7 @@ inline void gcode_M104() {
3152 3152
 inline void gcode_M105() {
3153 3153
   if (setTargetedHotend(105)) return;
3154 3154
 
3155
-  #if HAS_TEMP_0 || HAS_TEMP_BED
3155
+  #if HAS_TEMP_0 || HAS_TEMP_BED || defined(HEATER_0_USES_MAX6675)
3156 3156
     SERIAL_PROTOCOLPGM("ok");
3157 3157
     #if HAS_TEMP_0
3158 3158
       SERIAL_PROTOCOLPGM(" T:");

Loading…
Cancel
Save