Minor documentation enhancements.
[pub/USBasp.git] / Demos / DualRole / ClassDriver / MouseHostDevice / HostFunctions.c
index bb9286b..4e794dc 100644 (file)
@@ -47,7 +47,7 @@ USB_ClassInfo_HID_Host_t Mouse_HID_Host_Interface =
                                .DataINPipeNumber       = 1,
                                .DataOUTPipeNumber      = 2,
                                
-                               .HIDInterfaceProtocol   = HID_BOOT_MOUSE_PROTOCOL,
+                               .HIDInterfaceProtocol   = HID_BOOTP_MouseBootProtocol,
                        },
        };
 
@@ -93,7 +93,8 @@ void EVENT_USB_Host_HostError(const uint8_t ErrorCode)
 /** Event handler for the USB_DeviceEnumerationFailed event. This indicates that a problem occurred while
  *  enumerating an attached USB device.
  */
-void EVENT_USB_Host_DeviceEnumerationFailed(const uint8_t ErrorCode, const uint8_t SubErrorCode)
+void EVENT_USB_Host_DeviceEnumerationFailed(const uint8_t ErrorCode,
+                                            const uint8_t SubErrorCode)
 {
        printf_P(PSTR(ESC_FG_RED "Dev Enum Error\r\n"
                                 " -- Error Code %d\r\n"