Skip to content

Commit 35aa664

Browse files
Only show one warning at a time on powerup
1 parent ff3dbda commit 35aa664

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

ResourceManager.cpp

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1431,6 +1431,9 @@ void ResourceManager::DetectDevicesThreadFunction()
14311431
"<p>See <a href='https://openrgb.org/udev'>https://openrgb.org/udev</a> to install the udev rules manually</p>";
14321432

14331433
LOG_DIALOG("%s", message);
1434+
1435+
udev_multiple = false;
1436+
i2c_interface_fail = false;
14341437
}
14351438

14361439
/*-------------------------------------------------*\
@@ -1445,6 +1448,8 @@ void ResourceManager::DetectDevicesThreadFunction()
14451448
"<p>Multiple udev rules files can conflict, it is recommended to remove one of them.</p>";
14461449

14471450
LOG_DIALOG("%s", message);
1451+
1452+
i2c_interface_fail = false;
14481453
}
14491454

14501455
#endif

0 commit comments

Comments
 (0)