Remove redundant struct identifiers.

This commit is contained in:
László Monda
2016-03-03 10:53:42 +01:00
parent fc8c0682d6
commit 39f286ce39
3 changed files with 4 additions and 3 deletions

View File

@@ -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;

View File

@@ -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:

View File

@@ -30,7 +30,7 @@
// Typedefs:
typedef struct usb_mouse_report {
typedef struct {
uint8_t buttons;
int16_t x;
int16_t y;