mirror of
https://github.com/DarthAffe/RGB.NET.git
synced 2025-12-13 10:08:31 +00:00
Update AsusDeviceProvider.cs
Code cleanup
This commit is contained in:
parent
df2f5620ee
commit
914bd8c0a1
@ -55,10 +55,7 @@ public class AsusDeviceProvider : AbstractRGBDeviceProvider
|
|||||||
|
|
||||||
protected override IEnumerable<IRGBDevice> LoadDevices()
|
protected override IEnumerable<IRGBDevice> LoadDevices()
|
||||||
{
|
{
|
||||||
if (_sdk == null) {
|
if (_sdk == null) yield break;
|
||||||
yield break;
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
_devices = _sdk.Enumerate(0);
|
_devices = _sdk.Enumerate(0);
|
||||||
for (int i = 0; i < _devices.Count; i++)
|
for (int i = 0; i < _devices.Count; i++)
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user