(MAJOR) Improved update performance of devices

This commit is contained in:
DarthAffe committed 2023-04-12 22:25:24 +02:00
1 parent 4216dacf4f
commit 764fcd1b1d
13 files changed
+38 -82

No files matched your search

@@ -1,5 +1,4 @@
using System;
using System.Collections.Generic;
using RGB.NET.Core;
namespace RGB.NET.Devices.Novation;
@@ -34,9 +33,6 @@ public abstract class NovationRGBDevice<TDeviceInfo> : AbstractRGBDevice<TDevice
_ => throw new ArgumentOutOfRangeException()
};
/// <inheritdoc />
protected override void UpdateLeds(IEnumerable<Led> ledsToUpdate) => UpdateQueue.SetData(GetUpdateData(ledsToUpdate));
/// <summary>
/// Resets the <see cref="NovationRGBDevice{TDeviceInfo}"/> back to default.
/// </summary>