Shorten ahci_os_softsleep delay

This function is often used in timeout operation. Shortening allows for
faster reaction.
This commit is contained in:
deadwood 2024-03-15 18:59:44 +01:00
parent bf8923cc3e
commit dca6bb5e1d
1 changed files with 2 additions and 2 deletions

View File

@ -148,10 +148,10 @@ int ahci_os_softsleep(void)
{
struct IORequest *io = ahci_OpenTimer();
if (io != NULL) {
ahci_WaitTO(io, 0, 100 * 1000, 0);
ahci_WaitTO(io, 0, 50 * 1000, 0);
ahci_CloseTimer(io);
}
return 100;
return 50;
}
/*