mirror of
https://github.com/apache/nuttx.git
synced 2026-06-07 01:05:54 +08:00
drivers/input: Rename BUTTONS configs to INPUT_BUTTONS
This commit is contained in:
committed by
Alan Carvalho de Assis
parent
5719dab8ec
commit
2efae6928d
@@ -36,8 +36,8 @@
|
||||
|
||||
/* Configuration ************************************************************/
|
||||
|
||||
#ifndef CONFIG_BUTTONS_NPOLLWAITERS
|
||||
# define CONFIG_BUTTONS_NPOLLWAITERS 2
|
||||
#ifndef CONFIG_INPUT_BUTTONS_NPOLLWAITERS
|
||||
# define CONFIG_INPUT_BUTTONS_NPOLLWAITERS 2
|
||||
#endif
|
||||
|
||||
/* ioctl commands */
|
||||
@@ -198,7 +198,7 @@ int btn_register(FAR const char *devname,
|
||||
*
|
||||
****************************************************************************/
|
||||
|
||||
#if CONFIG_BUTTONS_LOWER
|
||||
#if CONFIG_INPUT_BUTTONS_LOWER
|
||||
int btn_lower_initialize(FAR const char *devname);
|
||||
#endif
|
||||
|
||||
|
||||
Reference in New Issue
Block a user