Browse Source

Fixing a problem with heated beds not working without PID and BED_LIMIT_SWITCHING

daid303 12 years ago
parent
commit
08356361ac
1 changed files with 2 additions and 2 deletions
  1. 2
    2
      Marlin/temperature.cpp

+ 2
- 2
Marlin/temperature.cpp View File

@@ -432,9 +432,9 @@ void manage_heater()
432 432
 	    soft_pwm_bed = 0;
433 433
 	  }
434 434
 
435
-    #elif not defined BED_LIMIT_SWITCHING
435
+    #elif !defined(BED_LIMIT_SWITCHING)
436 436
       // Check if temperature is within the correct range
437
-      if((current_temperature_bed > BED_MAXTEMP) && (current_temperature_bed < BED_MINTEMP))
437
+      if((current_temperature_bed > BED_MINTEMP) && (current_temperature_bed < BED_MAXTEMP))
438 438
       {
439 439
         if(current_temperature_bed >= target_temperature_bed)
440 440
         {

Loading…
Cancel
Save