diff options
author | Gregory Nutt <gnutt@nuttx.org> | 2013-12-30 12:39:23 -0600 |
---|---|---|
committer | Gregory Nutt <gnutt@nuttx.org> | 2013-12-30 12:39:23 -0600 |
commit | 8ca22c23fa3fa96cf661888f6b8a104d4c1cbd1b (patch) | |
tree | b45ebeacd667bd749ceaf1e54b1952a9747ce7ac /NxWidgets/nxwm/src | |
parent | 740fa31fee4328e095cfb62a2a9128c858d7f062 (diff) | |
download | nuttx-8ca22c23fa3fa96cf661888f6b8a104d4c1cbd1b.tar.gz nuttx-8ca22c23fa3fa96cf661888f6b8a104d4c1cbd1b.tar.bz2 nuttx-8ca22c23fa3fa96cf661888f6b8a104d4c1cbd1b.zip |
NxWM::CTouchscreen: Add CONFIG_NXWM_TOUCHSCREEN_DEVINIT to suppress attempts to initialize the touchscreen from NxWM in the kernel build
Diffstat (limited to 'NxWidgets/nxwm/src')
-rw-r--r-- | NxWidgets/nxwm/src/ctouchscreen.cxx | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/NxWidgets/nxwm/src/ctouchscreen.cxx b/NxWidgets/nxwm/src/ctouchscreen.cxx index 853132008..8bf570f74 100644 --- a/NxWidgets/nxwm/src/ctouchscreen.cxx +++ b/NxWidgets/nxwm/src/ctouchscreen.cxx @@ -278,6 +278,7 @@ FAR void *CTouchscreen::listener(FAR void *arg) vdbg("Listener started\n"); +#ifdef CONFIG_NXWM_TOUCHSCREEN_DEVINIT // Initialize the touchscreen device int ret = arch_tcinitialize(CONFIG_NXWM_TOUCHSCREEN_DEVNO); @@ -288,6 +289,7 @@ FAR void *CTouchscreen::listener(FAR void *arg) sem_post(&This->m_waitSem); return (FAR void *)0; } +#endif // Open the touchscreen device that we just created. |