|
@@ -147,7 +147,9 @@ using FilteredADC = LPC176x::ADC<ADC_LOWPASS_K_VALUE, ADC_MEDIAN_FILTER_SIZE>;
|
147
|
147
|
#define HAL_ADC_READY() FilteredADC::finished_conversion()
|
148
|
148
|
|
149
|
149
|
// A grace period to allow ADC readings to stabilize, preventing false alarms
|
150
|
|
-#define THERMAL_PROTECTION_GRACE_PERIOD 1000
|
|
150
|
+#ifndef THERMAL_PROTECTION_GRACE_PERIOD
|
|
151
|
+ #define THERMAL_PROTECTION_GRACE_PERIOD 1000
|
|
152
|
+#endif
|
151
|
153
|
|
152
|
154
|
// Parse a G-code word into a pin index
|
153
|
155
|
int16_t PARSED_PIN_INDEX(const char code, const int16_t dval);
|