Ignore spurious MAX31855K / 6675 thermocouple errors (#18039)

This commit is contained in:
Mobilinkd LLC
2020-05-20 15:38:29 -05:00
committed by GitHub
parent 7b2a056656
commit 60bed3434b
2 changed files with 50 additions and 23 deletions

View File

@ -39,6 +39,19 @@
//=============================Thermal Settings ============================
//===========================================================================
/**
* Thermocouple sensors are quite sensitive to noise. Any noise induced in
* the sensor wires, such as by stepper motor wires run in parallel to them,
* may result in the thermocouple sensor reporting spurious errors. This
* value is the number of errors which can occur in a row before the error
* is reported. This allows us to ignore intermittent error conditions while
* still detecting an actual failure, which should result in a continuous
* stream of errors from the sensor.
*
* Set this value to 0 to fail on the first error to occur.
*/
#define THERMOCOUPLE_MAX_ERRORS 15
//
// Custom Thermistor 1000 parameters
//