aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormichael <michael@3ae390bd-cb1e-0410-b409-cd5a39f66f1f>2008-12-23 14:55:32 +0000
committermichael <michael@3ae390bd-cb1e-0410-b409-cd5a39f66f1f>2008-12-23 14:55:32 +0000
commitc881473ad3e54d4f9c149358173b52b3405262c7 (patch)
tree6bd6796a8bddf7bd15d0b153638045bb339abd63
parent8b185a53fc6c35d570987ab9ff2c194dcaa24cd2 (diff)
downloadlcd4linux-c881473ad3e54d4f9c149358173b52b3405262c7.tar.gz
keypad bug fixed
git-svn-id: https://ssl.bulix.org/svn/lcd4linux/trunk@906 3ae390bd-cb1e-0410-b409-cd5a39f66f1f
-rw-r--r--drv_Crystalfontz.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drv_Crystalfontz.c b/drv_Crystalfontz.c
index 4526c02..54d3805 100644
--- a/drv_Crystalfontz.c
+++ b/drv_Crystalfontz.c
@@ -615,7 +615,7 @@ static int drv_CF_keypad(const int num)
case 2:
break;
case 3:
- if ((num < 8) || ((num > 12) && (num < 17)))
+ if ((num < 7) || ((num > 12) && (num < 17)))
val = WIDGET_KEY_PRESSED;
else
val = WIDGET_KEY_RELEASED;