mirror of
https://github.com/MarlinFirmware/Marlin.git
synced 2024-11-30 15:26:18 +00:00
Allow THERMAL_PROTECTION_GRACE_PERIOD override
Co-Authored-By: MarcelMo <marcelmo@users.noreply.github.com>
This commit is contained in:
parent
f0be92259b
commit
4cc83b6330
@ -147,7 +147,9 @@ using FilteredADC = LPC176x::ADC<ADC_LOWPASS_K_VALUE, ADC_MEDIAN_FILTER_SIZE>;
|
|||||||
#define HAL_ADC_READY() FilteredADC::finished_conversion()
|
#define HAL_ADC_READY() FilteredADC::finished_conversion()
|
||||||
|
|
||||||
// A grace period to allow ADC readings to stabilize, preventing false alarms
|
// A grace period to allow ADC readings to stabilize, preventing false alarms
|
||||||
#define THERMAL_PROTECTION_GRACE_PERIOD 1000
|
#ifndef THERMAL_PROTECTION_GRACE_PERIOD
|
||||||
|
#define THERMAL_PROTECTION_GRACE_PERIOD 1000
|
||||||
|
#endif
|
||||||
|
|
||||||
// Parse a G-code word into a pin index
|
// Parse a G-code word into a pin index
|
||||||
int16_t PARSED_PIN_INDEX(const char code, const int16_t dval);
|
int16_t PARSED_PIN_INDEX(const char code, const int16_t dval);
|
||||||
|
Loading…
Reference in New Issue
Block a user