Allow larger ADC debounce

Reference #17205
This commit is contained in:
Scott Lahteine
2020-06-26 18:53:39 -05:00
parent 319e93f55d
commit a907e15ae6
5 changed files with 12 additions and 5 deletions

View File

@ -351,7 +351,7 @@ volatile bool Temperature::raw_temps_ready = false;
#if HAS_ADC_BUTTONS
uint32_t Temperature::current_ADCKey_raw = HAL_ADC_RANGE;
uint8_t Temperature::ADCKey_count = 0;
uint16_t Temperature::ADCKey_count = 0;
#endif
#if ENABLED(PID_EXTRUSION_SCALING)

View File

@ -425,7 +425,7 @@ class Temperature {
public:
#if HAS_ADC_BUTTONS
static uint32_t current_ADCKey_raw;
static uint8_t ADCKey_count;
static uint16_t ADCKey_count;
#endif
TERN_(PID_EXTRUSION_SCALING, static int16_t lpq_len);