keypad bug fixed

git-svn-id: https://ssl.bulix.org/svn/lcd4linux/trunk@906 3ae390bd-cb1e-0410-b409-cd5a39f66f1f
This commit is contained in:
michael
2008-12-23 14:55:32 +00:00
parent 8b185a53fc
commit c881473ad3
+1 -1
View File
@@ -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;