diff options
Diffstat (limited to 'nuttx/configs/sam3u-ek/src/up_touchscreen.c')
-rwxr-xr-x | nuttx/configs/sam3u-ek/src/up_touchscreen.c | 21 |
1 files changed, 18 insertions, 3 deletions
diff --git a/nuttx/configs/sam3u-ek/src/up_touchscreen.c b/nuttx/configs/sam3u-ek/src/up_touchscreen.c index 699c245b7..9b58f151c 100755 --- a/nuttx/configs/sam3u-ek/src/up_touchscreen.c +++ b/nuttx/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 */ + |