hidpp10: rename hidpp10_buttons to hidpp10_button

Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
This commit is contained in:
Peter Hutterer
2015-08-26 09:38:14 +10:00
parent 6bb25bc824
commit 66d4d33857
2 changed files with 2 additions and 2 deletions

View File

@@ -441,7 +441,7 @@ hidpp10_get_profile(struct hidpp10_device *dev, int8_t number, struct hidpp10_pr
profile.num_buttons = PROFILE_NUM_BUTTONS;
for (i = 0; i < PROFILE_NUM_BUTTONS; i++) {
union _hidpp10_button_binding *b = &p->buttons[i];
union hidpp10_buttons *button = &profile.buttons[i];
union hidpp10_button *button = &profile.buttons[i];
button->any.type = b->any.type;

View File

@@ -135,7 +135,7 @@ struct hidpp10_profile {
bool angle_correction;
uint8_t default_dpi_mode;
uint16_t refresh_rate;
union hidpp10_buttons {
union hidpp10_button {
struct { uint8_t type; } any;
struct {
uint8_t type;