Skip to content

Commit

Permalink
Fix TEMP_0_TR_ENABLE, rename temp conditions (#21016)
Browse files Browse the repository at this point in the history
  • Loading branch information
thinkyhead authored Feb 7, 2021
1 parent af4e8b1 commit b35bfeb
Show file tree
Hide file tree
Showing 9 changed files with 525 additions and 493 deletions.
8 changes: 7 additions & 1 deletion Marlin/Configuration_adv.h
Original file line number Diff line number Diff line change
Expand Up @@ -113,6 +113,12 @@
#define CHAMBER_BETA 3950 // Beta value
#endif

#if TEMP_SENSOR_PROBE == 1000
#define PROBE_PULLUP_RESISTOR_OHMS 4700 // Pullup resistor
#define PROBE_RESISTANCE_25C_OHMS 100000 // Resistance at 25C
#define PROBE_BETA 3950 // Beta value
#endif

//
// Hephestos 2 24V heated bed upgrade kit.
// https://store.bq.com/en/heated-bed-kit-hephestos2
Expand Down Expand Up @@ -331,7 +337,7 @@
* High Temperature Thermistor Support
*
* Thermistors able to support high temperature tend to have a hard time getting
* good readings at room and lower temperatures. This means HEATER_X_RAW_LO_TEMP
* good readings at room and lower temperatures. This means TEMP_SENSOR_X_RAW_LO_TEMP
* will probably be caught when the heating element first turns on during the
* preheating process, which will trigger a min_temp_error as a safety measure
* and force stop everything.
Expand Down
4 changes: 2 additions & 2 deletions Marlin/src/MarlinCore.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -938,10 +938,10 @@ void setup() {
SETUP_RUN(HAL_init());

// Init and disable SPI thermocouples
#if HEATER_0_USES_MAX6675
#if TEMP_SENSOR_0_IS_MAX6675
OUT_WRITE(MAX6675_SS_PIN, HIGH); // Disable
#endif
#if HEATER_1_USES_MAX6675
#if TEMP_SENSOR_1_IS_MAX6675
OUT_WRITE(MAX6675_SS2_PIN, HIGH); // Disable
#endif

Expand Down
Loading

0 comments on commit b35bfeb

Please sign in to comment.