mirror of
https://github.com/cemu-project/DS4Windows.git
synced 2024-12-24 15:41:49 +01:00
Comment out delay when re-enabling a device
Will likely remove later
This commit is contained in:
parent
b24c72f559
commit
424b252a95
@ -391,7 +391,7 @@ namespace DS4Windows
|
||||
}
|
||||
|
||||
//System.Threading.Thread.Sleep(50);
|
||||
sw.Restart();
|
||||
/*sw.Restart();
|
||||
while (sw.ElapsedMilliseconds < 50)
|
||||
{
|
||||
// Use SpinWait to keep control of current thread. Using Sleep could potentially
|
||||
@ -399,6 +399,7 @@ namespace DS4Windows
|
||||
System.Threading.Thread.SpinWait(100);
|
||||
}
|
||||
sw.Stop();
|
||||
*/
|
||||
|
||||
NativeMethods.SetupDiDestroyDeviceInfoList(deviceInfoSet);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user