Remove redundant struct identifiers.
This commit is contained in:
@@ -12,7 +12,7 @@
|
||||
|
||||
// Typedefs:
|
||||
|
||||
typedef struct _usb_device_composite_struct {
|
||||
typedef struct {
|
||||
usb_device_handle deviceHandle;
|
||||
class_handle_t mouseHandle;
|
||||
class_handle_t keyboardHandle;
|
||||
|
||||
@@ -31,13 +31,14 @@
|
||||
|
||||
// Typedefs:
|
||||
|
||||
typedef struct usb_keyboard_report {
|
||||
typedef struct {
|
||||
uint8_t modifiers;
|
||||
uint8_t reserved; // Always must be 0
|
||||
uint8_t scancodes[USB_KEYBOARD_MAX_KEYS];
|
||||
} __attribute__ ((packed)) usb_keyboard_report_t;
|
||||
|
||||
// Variables:
|
||||
|
||||
extern usb_device_class_struct_t UsbKeyboardClass;
|
||||
|
||||
// Functions:
|
||||
|
||||
@@ -30,7 +30,7 @@
|
||||
|
||||
// Typedefs:
|
||||
|
||||
typedef struct usb_mouse_report {
|
||||
typedef struct {
|
||||
uint8_t buttons;
|
||||
int16_t x;
|
||||
int16_t y;
|
||||
|
||||
Reference in New Issue
Block a user