HCoop
/
clinton
/
Smoothieware.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e93caec
)
speed up encoder tick
author
Jim Morris
<morris@wolfman.com>
Thu, 10 Apr 2014 03:38:45 +0000
(20:38 -0700)
committer
Jim Morris
<morris@wolfman.com>
Thu, 10 Apr 2014 03:38:45 +0000
(20:38 -0700)
src/modules/utils/panel/Panel.cpp
patch
|
blob
|
blame
|
history
diff --git
a/src/modules/utils/panel/Panel.cpp
b/src/modules/utils/panel/Panel.cpp
index
2ba416b
..
e0284cd
100644
(file)
--- 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(
2
0, this, &Panel::encoder_tick );
+ THEKERNEL->slow_ticker->attach(
5
0, this, &Panel::encoder_tick );
}else{
// read encoder pins
THEKERNEL->slow_ticker->attach( 1000, this, &Panel::encoder_check );