Only show one warning at a time on powerup

This commit is contained in:
Adam Honse
2023-07-09 00:58:05 -05:00
parent ff3dbdac4c
commit 35aa66455c

View File

@@ -1431,6 +1431,9 @@ void ResourceManager::DetectDevicesThreadFunction()
"<p>See <a href='https://openrgb.org/udev'>https://openrgb.org/udev</a> to install the udev rules manually</p>";
LOG_DIALOG("%s", message);
udev_multiple = false;
i2c_interface_fail = false;
}
/*-------------------------------------------------*\
@@ -1445,6 +1448,8 @@ void ResourceManager::DetectDevicesThreadFunction()
"<p>Multiple udev rules files can conflict, it is recommended to remove one of them.</p>";
LOG_DIALOG("%s", message);
i2c_interface_fail = false;
}
#endif