diff options
author | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2012-05-11 00:05:25 +0000 |
---|---|---|
committer | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2012-05-11 00:05:25 +0000 |
commit | a280d993608d0c40ad0b4efc8adcbf72f67d53a4 (patch) | |
tree | 0c718467856492451acfb8af51db3d59abad08fb /nuttx/configs/sim | |
parent | 68f3044b5099572850a9e81a1c63161c20809547 (diff) | |
download | px4-nuttx-a280d993608d0c40ad0b4efc8adcbf72f67d53a4.tar.gz px4-nuttx-a280d993608d0c40ad0b4efc8adcbf72f67d53a4.tar.bz2 px4-nuttx-a280d993608d0c40ad0b4efc8adcbf72f67d53a4.zip |
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
Diffstat (limited to 'nuttx/configs/sim')
-rw-r--r-- | nuttx/configs/sim/README.txt | 2 | ||||
-rw-r--r-- | nuttx/configs/sim/src/up_touchscreen.c | 4 |
2 files changed, 3 insertions, 3 deletions
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; |