Browse Source

fixed wrong pin initialization when using temperature 2 pin input

pull/1/head
MaikStohn 11 years ago
parent
commit
4cc6f9f6de
  1. 2
      Marlin/temperature.cpp

2
Marlin/temperature.cpp

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

Loading…
Cancel
Save