mirror of https://github.com/acidanthera/audk.git
Fix bugs in last code scrub.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8713 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
parent
c453660804
commit
2101c62ad0
|
@ -925,7 +925,7 @@ ReadWriteDataSector (
|
|||
|
||||
MicroSecondDelay (50);
|
||||
Times = Times - 1;
|
||||
} while (Times >= 0);
|
||||
} while (Times > 0);
|
||||
|
||||
if (Times == 0) {
|
||||
return EFI_TIMEOUT;
|
||||
|
@ -1124,7 +1124,7 @@ FddWaitForBSYClear (
|
|||
|
||||
MicroSecondDelay (50);
|
||||
Delay = Delay - 1;
|
||||
} while (Delay >= 0);
|
||||
} while (Delay > 0);
|
||||
|
||||
if (Delay == 0) {
|
||||
return EFI_TIMEOUT;
|
||||
|
|
Loading…
Reference in New Issue