|
@@ -1461,7 +1461,7 @@ void Temperature::manage_heater() {
|
1461
|
1461
|
#elif ENABLED(HEATER_0_USES_MAX6675)
|
1462
|
1462
|
return (
|
1463
|
1463
|
#if ENABLED(MAX6675_IS_MAX31865)
|
1464
|
|
- max31865.temperature(100, 400) // 100 ohms = PT100 resistance. 400 ohms = calibration resistor
|
|
1464
|
+ max31865.temperature(MAX31865_SENSOR_OHMS, MAX31865_CALIBRATION_OHMS)
|
1465
|
1465
|
#else
|
1466
|
1466
|
raw * 0.25
|
1467
|
1467
|
#endif
|
|
@@ -2236,7 +2236,7 @@ void Temperature::disable_all_heaters() {
|
2236
|
2236
|
next_max6675_ms[hindex] = ms + MAX6675_HEAT_INTERVAL;
|
2237
|
2237
|
|
2238
|
2238
|
#if ENABLED(MAX6675_IS_MAX31865)
|
2239
|
|
- max6675_temp = int(max31865.temperature(100, 400)); // 100 ohms = PT100 resistance. 400 ohms = calibration resistor
|
|
2239
|
+ max6675_temp = int(max31865.temperature(MAX31865_SENSOR_OHMS, MAX31865_CALIBRATION_OHMS));
|
2240
|
2240
|
#endif
|
2241
|
2241
|
|
2242
|
2242
|
//
|