Fix multiple definition error in KeyboardMountMultiReport class driver demo.
authorDean Camera <dean@fourwalledcubicle.com>
Sun, 19 Jul 2020 00:44:05 +0000 (10:44 +1000)
committerDean Camera <dean@fourwalledcubicle.com>
Sun, 19 Jul 2020 00:44:05 +0000 (10:44 +1000)
Demos/Device/ClassDriver/KeyboardMouseMultiReport/Descriptors.h

index 13b0a1b..61b8869 100644 (file)
 
        /* Enums: */
                /** Enum for the HID report IDs used in the device. */
 
        /* Enums: */
                /** Enum for the HID report IDs used in the device. */
-               enum
+               enum HID_ReportID_t
                {
                        HID_REPORTID_MouseReport    = 0x01, /**< Report ID for the Mouse report within the device. */
                        HID_REPORTID_KeyboardReport = 0x02, /**< Report ID for the Keyboard report within the device. */
                {
                        HID_REPORTID_MouseReport    = 0x01, /**< Report ID for the Mouse report within the device. */
                        HID_REPORTID_KeyboardReport = 0x02, /**< Report ID for the Keyboard report within the device. */
-               } HID_Report_IDs;
+               };
 
        /* Function Prototypes: */
                uint16_t CALLBACK_USB_GetDescriptor(const uint16_t wValue,
 
        /* Function Prototypes: */
                uint16_t CALLBACK_USB_GetDescriptor(const uint16_t wValue,