mirror of
https://github.com/apache/nuttx.git
synced 2026-06-06 00:14:22 +08:00
Back out part of last change to the Arduino Due touchscreen driver
This commit is contained in:
@@ -416,19 +416,15 @@ int arch_tcinitialize(int minor)
|
|||||||
* None
|
* None
|
||||||
*
|
*
|
||||||
* Returned Value:
|
* Returned Value:
|
||||||
* None.
|
* None
|
||||||
*
|
*
|
||||||
****************************************************************************/
|
****************************************************************************/
|
||||||
|
|
||||||
void arch_tcuninitialize(void)
|
void arch_tcuninitialize(void)
|
||||||
{
|
{
|
||||||
/* No real support for un-initializing the touchscreen XPT2046 device.
|
/* No support for un-initializing the touchscreen XPT2046 device. It will
|
||||||
* Just make sure that interrupts are disabled and that no handler is
|
* continue to run and process touch interrupts in the background.
|
||||||
* attached.
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
sam_gpioirqdisable(SAM_TSC_IRQ);
|
|
||||||
irq_detach(SAM_TSC_IRQ);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
#endif /* CONFIG_ARDUINO_ITHEAD_TFT && CONFIG_SPI_BITBANG && CONFIG_INPUT_ADS7843E */
|
#endif /* CONFIG_ARDUINO_ITHEAD_TFT && CONFIG_SPI_BITBANG && CONFIG_INPUT_ADS7843E */
|
||||||
|
|||||||
Reference in New Issue
Block a user