1
0
mirror of https://github.com/AvengeMedia/DankMaterialShell.git synced 2026-01-24 21:42:51 -05:00

brightness: rescan brightness (#922)

This commit is contained in:
Yuxiang Qiu
2025-12-06 05:24:54 +00:00
committed by GitHub
parent 833d245251
commit 9ebfab2e78

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