1
0
forked from drath/libratbag

steelseries: don't use reserved underscore identifiers

This commit is contained in:
Yaroslav Chvanov
2023-05-19 21:58:14 +03:00
parent 6fcac8a360
commit ea5ca29aa2

View File

@@ -114,13 +114,11 @@ struct steelseries_led_cycle_spec {
int point_count_idx; /* index of the point counter field */
};
struct _steelseries_message {
uint8_t report_id;
uint8_t parameters[STEELSERIES_REPORT_SIZE - 1];
} __attribute__((packed));
union steelseries_message {
struct _steelseries_message msg;
struct {
uint8_t report_id;
uint8_t parameters[STEELSERIES_REPORT_SIZE - 1];
} __attribute__((packed)) msg;
uint8_t data[STEELSERIES_REPORT_SIZE];
};