1
0
mirror of https://github.com/DarthAffe/RGB.NET.git synced 2025-12-12 17:48:31 +00:00

Small code issue fix

This commit is contained in:
Darth Affe 2021-12-27 21:25:18 +01:00
parent abe9c2a600
commit f5899ffb6d

View File

@ -120,8 +120,8 @@ public class LightspeedHIDLoader<TLed, TData> : IEnumerable<HIDDeviceDefinition<
return map;
int tries = 0;
const int maxTries = 5;
while (tries < maxTries)
const int MAX_TRIES = 5;
while (tries < MAX_TRIES)
{
try
{