Fix keypad-related compile error (#12306)

This commit is contained in:
Ludy
2018-11-03 04:29:32 +01:00
committed by Scott Lahteine
parent 2fb2e286ee
commit 5ba6607181
5 changed files with 66 additions and 100 deletions

View File

@ -1831,6 +1831,7 @@ void Temperature::isr() {
static uint8_t pwm_count = _BV(SOFT_PWM_SCALE);
// avoid multiple loads of pwm_count
uint8_t pwm_count_tmp = pwm_count;
#if ENABLED(ADC_KEYPAD)
static unsigned int raw_ADCKey_value = 0;
#endif