diff options
Diffstat (limited to 'nuttx/configs/olimex-lpc1766stk/src/lpc17_hidmouse.c')
-rw-r--r-- | nuttx/configs/olimex-lpc1766stk/src/lpc17_hidmouse.c | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/nuttx/configs/olimex-lpc1766stk/src/lpc17_hidmouse.c b/nuttx/configs/olimex-lpc1766stk/src/lpc17_hidmouse.c index d78579245..24fa5aa17 100644 --- a/nuttx/configs/olimex-lpc1766stk/src/lpc17_hidmouse.c +++ b/nuttx/configs/olimex-lpc1766stk/src/lpc17_hidmouse.c @@ -45,6 +45,7 @@ #include <assert.h> #include <errno.h> +#include <nuttx/board.h> #include <nuttx/usb/usbhost.h> #include <nuttx/input/touchscreen.h> @@ -90,7 +91,7 @@ ****************************************************************************/ /**************************************************************************** - * Name: arch_tcinitialize + * Name: board_tsc_setup * * Description: * Each board that supports a touchscreen device must provide this @@ -108,7 +109,7 @@ * ****************************************************************************/ -int arch_tcinitialize(int minor) +int board_tsc_setup(int minor) { static bool initialized = false; int ret; @@ -142,7 +143,7 @@ int arch_tcinitialize(int minor) } /**************************************************************************** - * Name: arch_tcuninitialize + * Name: board_tsc_teardown * * Description: * Each board that supports a touchscreen device must provide this function. @@ -157,7 +158,7 @@ int arch_tcinitialize(int minor) * ****************************************************************************/ -void arch_tcuninitialize(void) +void board_tsc_teardown(void) { /* No support for un-initializing the USB mouse driver. It will continue * to run and process touch interrupts in the background. |