mirror of
https://github.com/apache/nuttx.git
synced 2026-05-23 23:28:29 +08:00
input/djoystick: Remove the unused config field from djoy_lowerhalf_s
the private data should be done like this:
struct xxx_lowerhalf_s
{
struct djoy_lowerhalf_s lower;
/* Add more private data here */
};
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
This commit is contained in:
@@ -220,12 +220,6 @@ struct djoy_lowerhalf_s
|
||||
CODE void (*dl_enable)(FAR const struct djoy_lowerhalf_s *lower,
|
||||
djoy_buttonset_t press, djoy_buttonset_t release,
|
||||
djoy_interrupt_t handler, FAR void *arg);
|
||||
|
||||
/* Allow for storing implementation specific data to support cases where
|
||||
* their may be more than one joystick
|
||||
*/
|
||||
|
||||
FAR void *config;
|
||||
};
|
||||
|
||||
/****************************************************************************
|
||||
|
||||
Reference in New Issue
Block a user