aboutsummaryrefslogtreecommitdiffstats
path: root/drv_generic_keypad.c
diff options
context:
space:
mode:
authorcmay <>2006-02-21 15:55:59 +0000
committercmay <>2006-02-21 15:55:59 +0000
commit55f062f9ccc5ccfead277b72262fc0e0f3a8f415 (patch)
tree8f815d007711d1ba18bfbcf060d0b86984fdd5aa /drv_generic_keypad.c
parenteefaa2aeda11bb5c505718c5700f0db9a4994636 (diff)
downloadlcd4linux-55f062f9ccc5ccfead277b72262fc0e0f3a8f415.tar.gz
[lcd4linux @ 2006-02-21 15:55:59 by cmay]
removed new update function for keypad, consolidated it with draw
Diffstat (limited to '')
-rw-r--r--drv_generic_keypad.c9
1 files changed, 6 insertions, 3 deletions
diff --git a/drv_generic_keypad.c b/drv_generic_keypad.c
index cdf2d08..3a02b14 100644
--- a/drv_generic_keypad.c
+++ b/drv_generic_keypad.c
@@ -1,4 +1,4 @@
-/* $Id: drv_generic_keypad.c,v 1.1 2006/02/21 05:50:34 reinelt Exp $
+/* $Id: drv_generic_keypad.c,v 1.2 2006/02/21 15:55:59 cmay Exp $
*
* generic driver helper for keypads
*
@@ -23,6 +23,9 @@
*
*
* $Log: drv_generic_keypad.c,v $
+ * Revision 1.2 2006/02/21 15:55:59 cmay
+ * removed new update function for keypad, consolidated it with draw
+ *
* Revision 1.1 2006/02/21 05:50:34 reinelt
* keypad support from Cris Maj
*
@@ -72,8 +75,8 @@ int drv_generic_keypad_press(const int num)
w = widget_find(WIDGET_TYPE_KEYPAD, &val);
- if (w && w->class->update)
- w->class->update(w);
+ if (w && w->class->draw)
+ w->class->draw(w);
return val;
}