Fix C++ dependencies, cleaning, ..
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4025 42af7a65-404d-4744-a932-0658087f49c3
This commit is contained in:
parent
9b49dc9d8c
commit
9a0a94d24c
@ -200,14 +200,14 @@ static bool tsc_pendown(FAR struct ads7843e_config_s *state)
|
|||||||
****************************************************************************/
|
****************************************************************************/
|
||||||
|
|
||||||
/****************************************************************************
|
/****************************************************************************
|
||||||
* Name: up_tcinitialize
|
* Name: arch_tcinitialize
|
||||||
*
|
*
|
||||||
* Description:
|
* Description:
|
||||||
* Initialize the touchscreen device
|
* Initialize the touchscreen device
|
||||||
*
|
*
|
||||||
****************************************************************************/
|
****************************************************************************/
|
||||||
|
|
||||||
int up_tcinitialize(void)
|
int arch_tcinitialize(void)
|
||||||
{
|
{
|
||||||
FAR struct spi_dev_s *dev;
|
FAR struct spi_dev_s *dev;
|
||||||
int ret;
|
int ret;
|
||||||
@ -244,4 +244,19 @@ int up_tcinitialize(void)
|
|||||||
|
|
||||||
return OK;
|
return OK;
|
||||||
}
|
}
|
||||||
#endif /* CONFIG_INPUT_ADS7843E */
|
|
||||||
|
/****************************************************************************
|
||||||
|
* Name: arch_tcuninitialize
|
||||||
|
*
|
||||||
|
* Description:
|
||||||
|
* Un-initialize the touchscreen device
|
||||||
|
*
|
||||||
|
****************************************************************************/
|
||||||
|
|
||||||
|
void arch_tcuninitialize(void)
|
||||||
|
{
|
||||||
|
/* No support for un-initializing the touchscreen ADS7843E device yet */
|
||||||
|
}
|
||||||
|
|
||||||
|
#endif /* CONFIG_INPUT_ADS7843E */
|
||||||
|
|
||||||
|
@ -1061,7 +1061,7 @@ CONFIG_EXAMPLES_NXLINES_EXTERNINIT=n
|
|||||||
# collected and the program terminates. Default: Samples are collected
|
# collected and the program terminates. Default: Samples are collected
|
||||||
# indefinitely.
|
# indefinitely.
|
||||||
#
|
#
|
||||||
CONFIG_EXAMPLES_TOUCHSCREEN_BUILTIN=n
|
CONFIG_EXAMPLES_TOUCHSCREEN_BUILTIN=y
|
||||||
CONFIG_EXAMPLES_TOUCHSCREEN_MINOR=0
|
CONFIG_EXAMPLES_TOUCHSCREEN_MINOR=0
|
||||||
CONFIG_EXAMPLES_TOUCHSCREEN_DEVPATH="/dev/input0"
|
CONFIG_EXAMPLES_TOUCHSCREEN_DEVPATH="/dev/input0"
|
||||||
CONFIG_EXAMPLES_TOUCHSCREEN_NSAMPLES=25
|
CONFIG_EXAMPLES_TOUCHSCREEN_NSAMPLES=25
|
||||||
|
Loading…
x
Reference in New Issue
Block a user