diff --git a/configs/sam3u-ek/src/up_touchscreen.c b/configs/sam3u-ek/src/up_touchscreen.c index 699c245b78..9b58f151c4 100755 --- a/configs/sam3u-ek/src/up_touchscreen.c +++ b/configs/sam3u-ek/src/up_touchscreen.c @@ -200,14 +200,14 @@ static bool tsc_pendown(FAR struct ads7843e_config_s *state) ****************************************************************************/ /**************************************************************************** - * Name: up_tcinitialize + * Name: arch_tcinitialize * * Description: * Initialize the touchscreen device * ****************************************************************************/ -int up_tcinitialize(void) +int arch_tcinitialize(void) { FAR struct spi_dev_s *dev; int ret; @@ -244,4 +244,19 @@ int up_tcinitialize(void) return OK; } -#endif /* CONFIG_INPUT_ADS7843E */ \ No newline at end of file + +/**************************************************************************** + * 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 */ + diff --git a/configs/sam3u-ek/touchscreen/defconfig b/configs/sam3u-ek/touchscreen/defconfig index f6eab150a5..fb5868f581 100755 --- a/configs/sam3u-ek/touchscreen/defconfig +++ b/configs/sam3u-ek/touchscreen/defconfig @@ -1061,7 +1061,7 @@ CONFIG_EXAMPLES_NXLINES_EXTERNINIT=n # collected and the program terminates. Default: Samples are collected # indefinitely. # -CONFIG_EXAMPLES_TOUCHSCREEN_BUILTIN=n +CONFIG_EXAMPLES_TOUCHSCREEN_BUILTIN=y CONFIG_EXAMPLES_TOUCHSCREEN_MINOR=0 CONFIG_EXAMPLES_TOUCHSCREEN_DEVPATH="/dev/input0" CONFIG_EXAMPLES_TOUCHSCREEN_NSAMPLES=25