mirror of
https://github.com/acidanthera/audk.git
synced 2025-07-31 01:24:12 +02:00
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:
parent
e8c42f8a7d
commit
61efb259fb
@ -1184,7 +1184,7 @@ FddDRQReady (
|
|||||||
// Stall for 50 us
|
// Stall for 50 us
|
||||||
//
|
//
|
||||||
Delay = Delay - 1;
|
Delay = Delay - 1;
|
||||||
} while (Delay >= 0);
|
} while (Delay > 0);
|
||||||
|
|
||||||
if (Delay == 0) {
|
if (Delay == 0) {
|
||||||
return EFI_NOT_READY;
|
return EFI_NOT_READY;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user