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