Permalink
Browse files

extruder: Add dummy temp sensor so analog_mask includes trim pot.

  • Loading branch information...
1 parent 15f8353 commit 26b9a7df5494a7c19e6b3f18d62076577651de3d @amsler amsler committed Apr 12, 2011
Showing with 2 additions and 2 deletions.
  1. +2 −2 extruder/config.h.dist
@@ -52,8 +52,6 @@
#define REFERENCE REFERENCE_AVCC
-#define ANALOG_MASK (MASK(TRIM_POT_CHANNEL) | MASK(TEMP_PIN_CHANNEL) | MASK(TEMP_BED_PIN_CHANNEL))
-
#define TEMP_THERMISTOR
#define HEATER_PIN DIO11
@@ -67,6 +65,8 @@
#ifdef DEFINE_TEMP_SENSOR
DEFINE_TEMP_SENSOR(extruder, TT_THERMISTOR, TEMP_PIN_CHANNEL, THERMISTOR_EXTRUDER)
DEFINE_TEMP_SENSOR(bed, TT_THERMISTOR, TEMP_BED_PIN_CHANNEL, THERMISTOR_EXTRUDER)
+// dummy temp sensor so analog_mask includes trim pot
+DEFINE_TEMP_SENSOR(noheater, TT_THERMISTOR, TRIM_POT_CHANNEL, 0)
#endif
#ifdef DEFINE_HEATER

0 comments on commit 26b9a7d

Please sign in to comment.