Browse Source

Small temperature disable bug.

Erik van der Zalm 13 years ago
parent
commit
959d82e81e
1 changed files with 3 additions and 3 deletions
  1. 3
    3
      Marlin/temperature.cpp

+ 3
- 3
Marlin/temperature.cpp View File

@@ -430,21 +430,21 @@ void disable_heater()
430 430
   #if TEMP_0_PIN > -1
431 431
   target_raw[0]=0;
432 432
    #if HEATER_0_PIN > -1  
433
-     WRITE(HEATER_0_PIN,LOW);
433
+     digitalWrite(HEATER_0_PIN,LOW);
434 434
    #endif
435 435
   #endif
436 436
      
437 437
   #if TEMP_1_PIN > -1
438 438
     target_raw[1]=0;
439 439
     #if HEATER_1_PIN > -1 
440
-      WRITE(HEATER_1_PIN,LOW);
440
+      digitalWrite(HEATER_1_PIN,LOW);
441 441
     #endif
442 442
   #endif
443 443
       
444 444
   #if TEMP_2_PIN > -1
445 445
     target_raw[2]=0;
446 446
     #if HEATER_2_PIN > -1  
447
-      WRITE(HEATER_2_PIN,LOW);
447
+      digitalWrite(HEATER_2_PIN,LOW);
448 448
     #endif
449 449
   #endif 
450 450
 }

Loading…
Cancel
Save