mirror of
https://github.com/AvengeMedia/DankMaterialShell.git
synced 2026-01-24 13:32:50 -05:00
brightness: rescan brightness (#922)
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user