Don't use the U number notation and macro parentheses unless necessary.
This commit is contained in:
@@ -12,21 +12,21 @@
|
||||
|
||||
// Macros:
|
||||
|
||||
#define USB_MOUSE_CLASS (0x03U)
|
||||
#define USB_MOUSE_SUBCLASS (0x01U)
|
||||
#define USB_MOUSE_PROTOCOL (0x02U)
|
||||
#define USB_MOUSE_CLASS 0x03
|
||||
#define USB_MOUSE_SUBCLASS 0x01
|
||||
#define USB_MOUSE_PROTOCOL 0x02
|
||||
|
||||
#define USB_MOUSE_INTERFACE_INDEX (2U)
|
||||
#define USB_MOUSE_INTERFACE_COUNT (1U)
|
||||
#define USB_MOUSE_INTERFACE_ALTERNATE_SETTING (0U)
|
||||
#define USB_MOUSE_INTERFACE_INDEX 2
|
||||
#define USB_MOUSE_INTERFACE_COUNT 1
|
||||
#define USB_MOUSE_INTERFACE_ALTERNATE_SETTING 0
|
||||
|
||||
#define USB_MOUSE_ENDPOINT_ID (1U)
|
||||
#define USB_MOUSE_ENDPOINT_COUNT (1U)
|
||||
#define USB_MOUSE_ENDPOINT_ID 1
|
||||
#define USB_MOUSE_ENDPOINT_COUNT 1
|
||||
|
||||
#define USB_MOUSE_INTERRUPT_IN_PACKET_SIZE (8U)
|
||||
#define USB_MOUSE_INTERRUPT_IN_INTERVAL (0x04U)
|
||||
#define USB_MOUSE_INTERRUPT_IN_PACKET_SIZE 8
|
||||
#define USB_MOUSE_INTERRUPT_IN_INTERVAL 4
|
||||
|
||||
#define USB_MOUSE_REPORT_LENGTH (0x07U)
|
||||
#define USB_MOUSE_REPORT_LENGTH 7
|
||||
|
||||
// Typedefs:
|
||||
|
||||
|
||||
Reference in New Issue
Block a user