aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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;