From 01fab0c78eeef5461a896847f05caec51d26050f Mon Sep 17 00:00:00 2001 From: patacongo Date: Thu, 4 Dec 2008 03:19:59 +0000 Subject: Enable keypad input git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1411 42af7a65-404d-4744-a932-0658087f49c3 --- nuttx/graphics/nxsu/nx_kbdin.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'nuttx/graphics/nxsu/nx_kbdin.c') diff --git a/nuttx/graphics/nxsu/nx_kbdin.c b/nuttx/graphics/nxsu/nx_kbdin.c index 3fe6a26c0..54081d662 100644 --- a/nuttx/graphics/nxsu/nx_kbdin.c +++ b/nuttx/graphics/nxsu/nx_kbdin.c @@ -81,7 +81,7 @@ * ****************************************************************************/ -int int nx_kbdin(NXHANDLE handle, ubyte nch const char *ch) +int nx_kbdin(NXHANDLE handle, ubyte nch, FAR const ubyte *ch) { FAR struct nxfe_state_s *fe = (FAR struct nxfe_state_s *)handle; FAR struct nxbe_window_s *wnd = fe->be.topwnd; @@ -92,7 +92,7 @@ int int nx_kbdin(NXHANDLE handle, ubyte nch const char *ch) if (wnd->cb->kbdin) { - wnd->cb->kbdin(wnd, kbd->nch, kbd->ch, wnd->arg); + wnd->cb->kbdin(wnd, nch, ch, wnd->arg); } } -- cgit v1.2.3