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

Loading…
Cancel
Save