brightness: rescan brightness (#922)

This commit is contained in:
Yuxiang Qiu authored and GitHub committed 2025-12-06 00:24:54 -05:00
1 parent 833d245251
commit 9ebfab2e78
1 file changed
-4
-4
View File
@@ -68,10 +68,6 @@ func (b *DDCBackend) scanI2CDevicesInternal(force bool) error {
activeBuses[i] = true
id := fmt.Sprintf("ddc:i2c-%d", i)
if _, exists := b.devices.Load(id); exists {
continue
}
dev, err := b.probeDDCDevice(i)
if err != nil || dev == nil {
continue