mirror of https://github.com/acidanthera/audk.git
MdeMdeModulePkg/Usb: Fixed a build error in UsbMouseDxe and UsbMouseAbsolutePointerDxe driver.
Signed-off-by: Feng Tian <feng.tian@intel.com> Reviewed-by: Liming Gao <liming.gao@intel.com> git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13453 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
parent
4f6904db4c
commit
ab742719aa
|
@ -594,8 +594,8 @@ InitializeUsbMouseDevice (
|
|||
MouseHidDesc = (EFI_USB_HID_DESCRIPTOR *)Head;
|
||||
break;
|
||||
}
|
||||
Total += (UINT16)Head->Len;
|
||||
Head = (USB_DESC_HEAD*)((UINT8 *)Buf + Total);
|
||||
Total = Total + (UINT16)Head->Len;
|
||||
Head = (USB_DESC_HEAD*)((UINT8 *)Buf + Total);
|
||||
}
|
||||
|
||||
if (MouseHidDesc == NULL) {
|
||||
|
|
|
@ -594,8 +594,8 @@ InitializeUsbMouseDevice (
|
|||
MouseHidDesc = (EFI_USB_HID_DESCRIPTOR *)Head;
|
||||
break;
|
||||
}
|
||||
Total += (UINT16)Head->Len;
|
||||
Head = (USB_DESC_HEAD*)((UINT8 *)Buf + Total);
|
||||
Total = Total + (UINT16)Head->Len;
|
||||
Head = (USB_DESC_HEAD*)((UINT8 *)Buf + Total);
|
||||
}
|
||||
|
||||
if (MouseHidDesc == NULL) {
|
||||
|
|
Loading…
Reference in New Issue