From 5c1dd6d854a43d1901ef46c51247cf6e0bbaf1f1 Mon Sep 17 00:00:00 2001 From: Jim Morris Date: Wed, 9 Apr 2014 20:38:45 -0700 Subject: [PATCH] speed up encoder tick --- src/modules/utils/panel/Panel.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/modules/utils/panel/Panel.cpp b/src/modules/utils/panel/Panel.cpp index 2ba416b1..e0284cd7 100644 --- a/src/modules/utils/panel/Panel.cpp +++ b/src/modules/utils/panel/Panel.cpp @@ -151,7 +151,7 @@ void Panel::on_module_loaded() THEKERNEL->slow_ticker->attach( 50, this, &Panel::button_tick ); if(lcd->encoderReturnsDelta()) { // panel handles encoder pins and returns a delta - THEKERNEL->slow_ticker->attach( 20, this, &Panel::encoder_tick ); + THEKERNEL->slow_ticker->attach( 50, this, &Panel::encoder_tick ); }else{ // read encoder pins THEKERNEL->slow_ticker->attach( 1000, this, &Panel::encoder_check ); -- 2.20.1