From 1e14716f3c61d9ef8d0444a49d571d10c7a6e3ae Mon Sep 17 00:00:00 2001 From: Rui Azevedo Date: Sat, 14 Oct 2017 06:55:30 +0000 Subject: [PATCH] click encoder not consuming all input --- src/menuIO/clickEncoderIn.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/menuIO/clickEncoderIn.h b/src/menuIO/clickEncoderIn.h index 06345709..0440ea1a 100644 --- a/src/menuIO/clickEncoderIn.h +++ b/src/menuIO/clickEncoderIn.h @@ -87,6 +87,8 @@ ex: -A0 means: pin A0 normally high, low when button pushed (reverse logic) if (btn == ClickEncoder::DoubleClicked) return options->navCodes[escCmd].ch;//menu::escCode; + btn=ClickEncoder::Open;//2017, must consume not used input to proceed + int d = pos - oldPos; if (d <= -sensivity) return options->navCodes[downCmd].ch;//menu::downCode;