mirror of https://github.com/deadw00d/AROS.git
Shorten ahci_os_softsleep delay
This function is often used in timeout operation. Shortening allows for faster reaction.
This commit is contained in:
parent
bf8923cc3e
commit
dca6bb5e1d
|
@ -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;
|
||||
}
|
||||
|
||||
/*
|
||||
|
|
Loading…
Reference in New Issue