diff options
author | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2008-12-04 03:19:59 +0000 |
---|---|---|
committer | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2008-12-04 03:19:59 +0000 |
commit | 01fab0c78eeef5461a896847f05caec51d26050f (patch) | |
tree | 1a500c7a38318a2d9ee6b40655863d4726c1f2f8 /nuttx/graphics/nxsu/nx_kbdin.c | |
parent | 6f348a7102c32164dd7fcc9008bdbd8a810fc5b7 (diff) | |
download | px4-nuttx-01fab0c78eeef5461a896847f05caec51d26050f.tar.gz px4-nuttx-01fab0c78eeef5461a896847f05caec51d26050f.tar.bz2 px4-nuttx-01fab0c78eeef5461a896847f05caec51d26050f.zip |
Enable keypad input
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1411 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/graphics/nxsu/nx_kbdin.c')
-rw-r--r-- | nuttx/graphics/nxsu/nx_kbdin.c | 4 |
1 files changed, 2 insertions, 2 deletions
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); } } |