summaryrefslogtreecommitdiff
path: root/nuttx/configs/sim
diff options
context:
space:
mode:
Diffstat (limited to 'nuttx/configs/sim')
-rw-r--r--nuttx/configs/sim/README.txt2
-rw-r--r--nuttx/configs/sim/src/up_touchscreen.c4
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;