diff --git a/brew.ino b/brew.ino index b3913295a477dc8fbcf8d23db1afbc526ccb3722..21fe97d57371c32de261a12166f6183c75620157 100644 --- a/brew.ino +++ b/brew.ino @@ -1684,7 +1684,7 @@ boolean checkForEncoderSwitchPush( bool cancelable ) { while (digitalRead(ROTARY_ENCODER_SW_PIN)) { // Wait until switch is released delay(ROTARY_ENCODER_SW_DEBOUNCE_TIME); // debounce - if( ((millis() - cancleTimer) >= (SETTING_CANCEL_TIMER/2) ) && cancelable ) { + if( ((millis() - cancleTimer) >= SETTING_CANCEL_TIMER ) && cancelable ) { sing(BUZZ_1, PIEZO_PIN); } }