Adjustable ADC debounce delay (#16264)

This commit is contained in:
Dennis
2020-01-15 19:06:03 -05:00
committed by Scott Lahteine
parent 7481563bd9
commit 2d7f94cae1
3 changed files with 17 additions and 3 deletions

View File

@ -2509,3 +2509,7 @@ static_assert( _ARR_TEST(3,0) && _ARR_TEST(3,1) && _ARR_TEST(3,2)
#error "SHOW_REMAINING_TIME currently requires a Graphical LCD."
#endif
#endif
#if HAS_ADC_BUTTONS && defined(ADC_BUTTON_DEBOUNCE_DELAY) && !WITHIN(ADC_BUTTON_DEBOUNCE_DELAY, 16, 255)
#error "ADC_BUTTON_DEBOUNCE_DELAY must be an integer from 16 to 255."
#endif