Allow MAX31865 resistance values configuration (#19695)

This commit is contained in:
Jason Smith
2020-10-11 22:40:39 -07:00
committed by Scott Lahteine
parent cc915a25ed
commit f4ff6a673f
3 changed files with 12 additions and 2 deletions

View File

@ -1845,6 +1845,10 @@ static_assert(hbm[Z_AXIS] >= 0, "HOMING_BUMP_MM.Z must be greater than or equal
#error "TEMP_SENSOR_1 is required with TEMP_SENSOR_1_AS_REDUNDANT."
#endif
#if ENABLED(MAX6675_IS_MAX31865) && (!defined(MAX31865_SENSOR_OHMS) || !defined(MAX31865_CALIBRATION_OHMS))
#error "MAX31865_SENSOR_OHMS and MAX31865_CALIBRATION_OHMS must be set in Configuration.h when using a MAX31865 temperature sensor."
#endif
/**
* Test Heater, Temp Sensor, and Extruder Pins
*/