Browse Source

fixed wrong pin initialization when using temperature 2 pin input

MaikStohn 12 years ago
parent
commit
4cc6f9f6de
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      Marlin/temperature.cpp

+ 1
- 1
Marlin/temperature.cpp View File

@@ -653,7 +653,7 @@ void tp_init()
653 653
     #if TEMP_2_PIN < 8
654 654
        DIDR0 |= 1 << TEMP_2_PIN; 
655 655
     #else
656
-       DIDR2 = 1<<(TEMP_2_PIN - 8); 
656
+       DIDR2 |= 1<<(TEMP_2_PIN - 8); 
657 657
     #endif
658 658
   #endif
659 659
   #if (TEMP_BED_PIN > -1)

Loading…
Cancel
Save