From a280d993608d0c40ad0b4efc8adcbf72f67d53a4 Mon Sep 17 00:00:00 2001 From: patacongo Date: Fri, 11 May 2012 00:05:25 +0000 Subject: NxWM: Finishes touchscreen implementation; NuttX: Standardize touchscreen initialization interfaces for all boards git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4721 42af7a65-404d-4744-a932-0658087f49c3 --- nuttx/configs/sim/README.txt | 2 +- nuttx/configs/sim/src/up_touchscreen.c | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'nuttx/configs/sim') diff --git a/nuttx/configs/sim/README.txt b/nuttx/configs/sim/README.txt index 3be43bf80..833ec58dc 100644 --- a/nuttx/configs/sim/README.txt +++ b/nuttx/configs/sim/README.txt @@ -342,7 +342,7 @@ nx11 CONFIG_SIM_TOUCHSCREEN=y Then you must also have some application logic that will call - sim_tcinitialize(0) to register the touchscreen driver. See + arch_tcinitialize(0) to register the touchscreen driver. See also configuration "touchscreen" NOTES: diff --git a/nuttx/configs/sim/src/up_touchscreen.c b/nuttx/configs/sim/src/up_touchscreen.c index 54d6d0cb3..ef3686288 100644 --- a/nuttx/configs/sim/src/up_touchscreen.c +++ b/nuttx/configs/sim/src/up_touchscreen.c @@ -143,10 +143,10 @@ int arch_tcinitialize(int minor) /* Finally, initialize the touchscreen simulation on the X window */ - ret = sim_tcinitialize(minor); + ret = arch_tcinitialize(minor); if (ret < 0) { - idbg("sim_tcinitialize failed: %d\n", ret); + idbg("arch_tcinitialize failed: %d\n", ret); goto errout_with_nx; } return OK; -- cgit v1.2.3