|
|
|
@ -1231,10 +1231,10 @@ void Temperature::manage_heater() {
|
|
|
|
|
#if ENABLED(HEATER_5_USER_THERMISTOR)
|
|
|
|
|
{ true, 0, 0, HOTEND5_PULLUP_RESISTOR_OHMS, HOTEND5_RESISTANCE_25C_OHMS, 0, 0, HOTEND5_BETA, 0 },
|
|
|
|
|
#endif
|
|
|
|
|
#if ENABLED(BED_USER_THERMISTOR)
|
|
|
|
|
#if ENABLED(HEATER_BED_USER_THERMISTOR)
|
|
|
|
|
{ true, 0, 0, BED_PULLUP_RESISTOR_OHMS, BED_RESISTANCE_25C_OHMS, 0, 0, BED_BETA, 0 },
|
|
|
|
|
#endif
|
|
|
|
|
#if ENABLED(CHAMBER_USER_THERMISTOR)
|
|
|
|
|
#if ENABLED(HEATER_CHAMBER_USER_THERMISTOR)
|
|
|
|
|
{ true, 0, 0, CHAMBER_PULLUP_RESISTOR_OHMS, CHAMBER_RESISTANCE_25C_OHMS, 0, 0, CHAMBER_BETA, 0 }
|
|
|
|
|
#endif
|
|
|
|
|
};
|
|
|
|
@ -1276,10 +1276,10 @@ void Temperature::manage_heater() {
|
|
|
|
|
#if ENABLED(HEATER_5_USER_THERMISTOR)
|
|
|
|
|
t_index == CTI_HOTEND_5 ? PSTR("HOTEND 5") :
|
|
|
|
|
#endif
|
|
|
|
|
#if ENABLED(BED_USER_THERMISTOR)
|
|
|
|
|
#if ENABLED(HEATER_BED_USER_THERMISTOR)
|
|
|
|
|
t_index == CTI_BED ? PSTR("BED") :
|
|
|
|
|
#endif
|
|
|
|
|
#if ENABLED(CHAMBER_USER_THERMISTOR)
|
|
|
|
|
#if ENABLED(HEATER_CHAMBER_USER_THERMISTOR)
|
|
|
|
|
t_index == CTI_CHAMBER ? PSTR("CHAMBER") :
|
|
|
|
|
#endif
|
|
|
|
|
nullptr
|
|
|
|
@ -1429,7 +1429,7 @@ float Temperature::analog_to_celsius_hotend(const int raw, const uint8_t e) {
|
|
|
|
|
// Derived from RepRap FiveD extruder::getTemperature()
|
|
|
|
|
// For bed temperature measurement.
|
|
|
|
|
float Temperature::analog_to_celsius_bed(const int raw) {
|
|
|
|
|
#if ENABLED(BED_USER_THERMISTOR)
|
|
|
|
|
#if ENABLED(HEATER_BED_USER_THERMISTOR)
|
|
|
|
|
return user_thermistor_to_deg_c(CTI_BED, raw);
|
|
|
|
|
#elif ENABLED(HEATER_BED_USES_THERMISTOR)
|
|
|
|
|
SCAN_THERMISTOR_TABLE(BED_TEMPTABLE, BED_TEMPTABLE_LEN);
|
|
|
|
@ -1447,7 +1447,7 @@ float Temperature::analog_to_celsius_hotend(const int raw, const uint8_t e) {
|
|
|
|
|
// Derived from RepRap FiveD extruder::getTemperature()
|
|
|
|
|
// For chamber temperature measurement.
|
|
|
|
|
float Temperature::analog_to_celsius_chamber(const int raw) {
|
|
|
|
|
#if ENABLED(CHAMBER_USER_THERMISTOR)
|
|
|
|
|
#if ENABLED(HEATER_CHAMBER_USER_THERMISTOR)
|
|
|
|
|
return user_thermistor_to_deg_c(CTI_CHAMBER, raw);
|
|
|
|
|
#elif ENABLED(HEATER_CHAMBER_USES_THERMISTOR)
|
|
|
|
|
SCAN_THERMISTOR_TABLE(CHAMBER_TEMPTABLE, CHAMBER_TEMPTABLE_LEN);
|
|
|
|
|