|
@@ -1947,46 +1947,46 @@ void Temperature::task() {
|
1947
|
1947
|
void Temperature::reset_user_thermistors() {
|
1948
|
1948
|
user_thermistor_t default_user_thermistor[USER_THERMISTORS] = {
|
1949
|
1949
|
#if TEMP_SENSOR_0_IS_CUSTOM
|
1950
|
|
- { true, 0, 0, HOTEND0_PULLUP_RESISTOR_OHMS, HOTEND0_RESISTANCE_25C_OHMS, 0, 0, HOTEND0_BETA, 0 },
|
|
1950
|
+ { true, HOTEND0_SH_C_COEFF, 0, HOTEND0_PULLUP_RESISTOR_OHMS, HOTEND0_RESISTANCE_25C_OHMS, 0, 0, HOTEND0_BETA, 0 },
|
1951
|
1951
|
#endif
|
1952
|
1952
|
#if TEMP_SENSOR_1_IS_CUSTOM
|
1953
|
|
- { true, 0, 0, HOTEND1_PULLUP_RESISTOR_OHMS, HOTEND1_RESISTANCE_25C_OHMS, 0, 0, HOTEND1_BETA, 0 },
|
|
1953
|
+ { true, HOTEND1_SH_C_COEFF, 0, HOTEND1_PULLUP_RESISTOR_OHMS, HOTEND1_RESISTANCE_25C_OHMS, 0, 0, HOTEND1_BETA, 0 },
|
1954
|
1954
|
#endif
|
1955
|
1955
|
#if TEMP_SENSOR_2_IS_CUSTOM
|
1956
|
|
- { true, 0, 0, HOTEND2_PULLUP_RESISTOR_OHMS, HOTEND2_RESISTANCE_25C_OHMS, 0, 0, HOTEND2_BETA, 0 },
|
|
1956
|
+ { true, HOTEND2_SH_C_COEFF, 0, HOTEND2_PULLUP_RESISTOR_OHMS, HOTEND2_RESISTANCE_25C_OHMS, 0, 0, HOTEND2_BETA, 0 },
|
1957
|
1957
|
#endif
|
1958
|
1958
|
#if TEMP_SENSOR_3_IS_CUSTOM
|
1959
|
|
- { true, 0, 0, HOTEND3_PULLUP_RESISTOR_OHMS, HOTEND3_RESISTANCE_25C_OHMS, 0, 0, HOTEND3_BETA, 0 },
|
|
1959
|
+ { true, HOTEND3_SH_C_COEFF, 0, HOTEND3_PULLUP_RESISTOR_OHMS, HOTEND3_RESISTANCE_25C_OHMS, 0, 0, HOTEND3_BETA, 0 },
|
1960
|
1960
|
#endif
|
1961
|
1961
|
#if TEMP_SENSOR_4_IS_CUSTOM
|
1962
|
|
- { true, 0, 0, HOTEND4_PULLUP_RESISTOR_OHMS, HOTEND4_RESISTANCE_25C_OHMS, 0, 0, HOTEND4_BETA, 0 },
|
|
1962
|
+ { true, HOTEND4_SH_C_COEFF, 0, HOTEND4_PULLUP_RESISTOR_OHMS, HOTEND4_RESISTANCE_25C_OHMS, 0, 0, HOTEND4_BETA, 0 },
|
1963
|
1963
|
#endif
|
1964
|
1964
|
#if TEMP_SENSOR_5_IS_CUSTOM
|
1965
|
|
- { true, 0, 0, HOTEND5_PULLUP_RESISTOR_OHMS, HOTEND5_RESISTANCE_25C_OHMS, 0, 0, HOTEND5_BETA, 0 },
|
|
1965
|
+ { true, HOTEND5_SH_C_COEFF, 0, HOTEND5_PULLUP_RESISTOR_OHMS, HOTEND5_RESISTANCE_25C_OHMS, 0, 0, HOTEND5_BETA, 0 },
|
1966
|
1966
|
#endif
|
1967
|
1967
|
#if TEMP_SENSOR_6_IS_CUSTOM
|
1968
|
|
- { true, 0, 0, HOTEND6_PULLUP_RESISTOR_OHMS, HOTEND6_RESISTANCE_25C_OHMS, 0, 0, HOTEND6_BETA, 0 },
|
|
1968
|
+ { true, HOTEND6_SH_C_COEFF, 0, HOTEND6_PULLUP_RESISTOR_OHMS, HOTEND6_RESISTANCE_25C_OHMS, 0, 0, HOTEND6_BETA, 0 },
|
1969
|
1969
|
#endif
|
1970
|
1970
|
#if TEMP_SENSOR_7_IS_CUSTOM
|
1971
|
|
- { true, 0, 0, HOTEND7_PULLUP_RESISTOR_OHMS, HOTEND7_RESISTANCE_25C_OHMS, 0, 0, HOTEND7_BETA, 0 },
|
|
1971
|
+ { true, HOTEND7_SH_C_COEFF, 0, HOTEND7_PULLUP_RESISTOR_OHMS, HOTEND7_RESISTANCE_25C_OHMS, 0, 0, HOTEND7_BETA, 0 },
|
1972
|
1972
|
#endif
|
1973
|
1973
|
#if TEMP_SENSOR_BED_IS_CUSTOM
|
1974
|
|
- { true, 0, 0, BED_PULLUP_RESISTOR_OHMS, BED_RESISTANCE_25C_OHMS, 0, 0, BED_BETA, 0 },
|
|
1974
|
+ { true, BED_SH_C_COEFF, 0, BED_PULLUP_RESISTOR_OHMS, BED_RESISTANCE_25C_OHMS, 0, 0, BED_BETA, 0 },
|
1975
|
1975
|
#endif
|
1976
|
1976
|
#if TEMP_SENSOR_CHAMBER_IS_CUSTOM
|
1977
|
|
- { true, 0, 0, CHAMBER_PULLUP_RESISTOR_OHMS, CHAMBER_RESISTANCE_25C_OHMS, 0, 0, CHAMBER_BETA, 0 },
|
|
1977
|
+ { true, CHAMBER_SH_C_COEFF, 0, CHAMBER_PULLUP_RESISTOR_OHMS, CHAMBER_RESISTANCE_25C_OHMS, 0, 0, CHAMBER_BETA, 0 },
|
1978
|
1978
|
#endif
|
1979
|
1979
|
#if TEMP_SENSOR_COOLER_IS_CUSTOM
|
1980
|
|
- { true, 0, 0, COOLER_PULLUP_RESISTOR_OHMS, COOLER_RESISTANCE_25C_OHMS, 0, 0, COOLER_BETA, 0 },
|
|
1980
|
+ { true, COOLER_SH_C_COEFF, 0, COOLER_PULLUP_RESISTOR_OHMS, COOLER_RESISTANCE_25C_OHMS, 0, 0, COOLER_BETA, 0 },
|
1981
|
1981
|
#endif
|
1982
|
1982
|
#if TEMP_SENSOR_PROBE_IS_CUSTOM
|
1983
|
|
- { true, 0, 0, PROBE_PULLUP_RESISTOR_OHMS, PROBE_RESISTANCE_25C_OHMS, 0, 0, PROBE_BETA, 0 },
|
|
1983
|
+ { true, PROBE_SH_C_COEFF, 0, PROBE_PULLUP_RESISTOR_OHMS, PROBE_RESISTANCE_25C_OHMS, 0, 0, PROBE_BETA, 0 },
|
1984
|
1984
|
#endif
|
1985
|
1985
|
#if TEMP_SENSOR_BOARD_IS_CUSTOM
|
1986
|
|
- { true, 0, 0, BOARD_PULLUP_RESISTOR_OHMS, BOARD_RESISTANCE_25C_OHMS, 0, 0, BOARD_BETA, 0 },
|
|
1986
|
+ { true, BOARD_SH_C_COEFF, 0, BOARD_PULLUP_RESISTOR_OHMS, BOARD_RESISTANCE_25C_OHMS, 0, 0, BOARD_BETA, 0 },
|
1987
|
1987
|
#endif
|
1988
|
1988
|
#if TEMP_SENSOR_REDUNDANT_IS_CUSTOM
|
1989
|
|
- { true, 0, 0, REDUNDANT_PULLUP_RESISTOR_OHMS, REDUNDANT_RESISTANCE_25C_OHMS, 0, 0, REDUNDANT_BETA, 0 },
|
|
1989
|
+ { true, REDUNDANT_SH_C_COEFF, 0, REDUNDANT_PULLUP_RESISTOR_OHMS, REDUNDANT_RESISTANCE_25C_OHMS, 0, 0, REDUNDANT_BETA, 0 },
|
1990
|
1990
|
#endif
|
1991
|
1991
|
};
|
1992
|
1992
|
COPY(user_thermistor, default_user_thermistor);
|