THERMAL_PROTECTION_GRACE_PERIOD is obsolete (#14798)

This commit is contained in:
Robby Candra
2019-08-06 08:33:15 +07:00
committed by Scott Lahteine
parent 534c105a7a
commit 5bc2fb022c
3 changed files with 8 additions and 33 deletions

View File

@ -146,11 +146,6 @@ using FilteredADC = LPC176x::ADC<ADC_LOWPASS_K_VALUE, ADC_MEDIAN_FILTER_SIZE>;
#define HAL_READ_ADC() FilteredADC::get_result()
#define HAL_ADC_READY() FilteredADC::finished_conversion()
// A grace period to allow ADC readings to stabilize, preventing false alarms
#ifndef THERMAL_PROTECTION_GRACE_PERIOD
#define THERMAL_PROTECTION_GRACE_PERIOD 1000
#endif
// Parse a G-code word into a pin index
int16_t PARSED_PIN_INDEX(const char code, const int16_t dval);
// P0.6 thru P0.9 are for the onboard SD card