Add HAL-based thermal protection grace period for all heaters (#13778)
This commit is contained in:
committed by
Scott Lahteine
parent
81ca5a4cd4
commit
875e673a8c
@ -147,6 +147,9 @@ 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 for the ADC readings to stabilize before they start causing thermal protection errors.
|
||||
#define THERMAL_PROTECTION_GRACE_PERIOD 500
|
||||
|
||||
// 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
|
||||
|
Reference in New Issue
Block a user