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
     #if TEMP_2_PIN < 8
653
     #if TEMP_2_PIN < 8
654
        DIDR0 |= 1 << TEMP_2_PIN; 
654
        DIDR0 |= 1 << TEMP_2_PIN; 
655
     #else
655
     #else
656
-       DIDR2 = 1<<(TEMP_2_PIN - 8); 
656
+       DIDR2 |= 1<<(TEMP_2_PIN - 8); 
657
     #endif
657
     #endif
658
   #endif
658
   #endif
659
   #if (TEMP_BED_PIN > -1)
659
   #if (TEMP_BED_PIN > -1)

Loading…
Cancel
Save