Fix code bug to cause deal loop when no floppy device.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8700 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
lgao4 2009-07-01 06:57:25 +00:00
parent e8c42f8a7d
commit 61efb259fb
1 changed files with 1 additions and 1 deletions

View File

@ -1184,7 +1184,7 @@ FddDRQReady (
// Stall for 50 us
//
Delay = Delay - 1;
} while (Delay >= 0);
} while (Delay > 0);
if (Delay == 0) {
return EFI_NOT_READY;