Disable POWER_OFF Pin for other printers than 4MAX so Pin 21 can be used for BLTouch. Also add two thermistor types for debugging purpose.

This commit is contained in:
Knutwurst
2022-01-22 15:34:24 +01:00
parent 0e74f4cebc
commit 0d4346542b
2 changed files with 10 additions and 4 deletions

View File

@@ -581,7 +581,11 @@
* 999 : Dummy Table that ALWAYS reads 100°C or the temperature defined below. * 999 : Dummy Table that ALWAYS reads 100°C or the temperature defined below.
* *
*/ */
#define TEMP_SENSOR_0 11 #if ENABLED(KNUTWURST_4MAXP2)
#define TEMP_SENSOR_0 11
#else
#define TEMP_SENSOR_0 1
#endif
#define TEMP_SENSOR_1 0 #define TEMP_SENSOR_1 0
#define TEMP_SENSOR_2 0 #define TEMP_SENSOR_2 0
#define TEMP_SENSOR_3 0 #define TEMP_SENSOR_3 0
@@ -589,7 +593,7 @@
#define TEMP_SENSOR_5 0 #define TEMP_SENSOR_5 0
#define TEMP_SENSOR_6 0 #define TEMP_SENSOR_6 0
#define TEMP_SENSOR_7 0 #define TEMP_SENSOR_7 0
#if ENABLED(KNUTWURST_4MAXP2) // 4MAX has type 1 #if ENABLED(KNUTWURST_4MAXP2)
#define TEMP_SENSOR_BED 5 #define TEMP_SENSOR_BED 5
#else #else
#define TEMP_SENSOR_BED 1 #define TEMP_SENSOR_BED 1

View File

@@ -266,8 +266,10 @@
#define FILWIDTH_PIN 5 // Analog Input on AUX2 #define FILWIDTH_PIN 5 // Analog Input on AUX2
#endif #endif
#ifndef POWER_OFF_PIN #if ENABLED(DKNUTWURST_4MAXP2)
#define POWER_OFF_PIN 21 #ifndef POWER_OFF_PIN
#define POWER_OFF_PIN 21
#endif
#endif #endif
// RAMPS 1.4 DIO 4 on the servos connector // RAMPS 1.4 DIO 4 on the servos connector