diff --git a/src/userInterface/UserInterface.cpp b/src/userInterface/UserInterface.cpp index a77c7763..274e3725 100644 --- a/src/userInterface/UserInterface.cpp +++ b/src/userInterface/UserInterface.cpp @@ -119,8 +119,8 @@ void UI::init(const char version[], const KeyPad::Pin pins[7], const int SerialB pinMode(B_PIN1, INPUT_PULLUP); pinMode(B_PIN3, INPUT_PULLUP); delay(100); - int thresholdEW = analogRead(B_PIN1); - int thresholdNS = analogRead(B_PIN3); + int thresholdEW = analogRead(B_PIN1) >> 2; + int thresholdNS = analogRead(B_PIN3) >> 2; keyPad.init(pins, thresholdNS, thresholdEW); #else keyPad.init(pins, 0, 0);