From fbad827d5784b3ad1b30228f30de8a70a1040a95 Mon Sep 17 00:00:00 2001 From: "Peter F. Patel-Schneider" Date: Tue, 6 Feb 2024 07:01:47 -0500 Subject: [PATCH] device: remove extra debugging for backlight --- lib/logitech_receiver/hidpp20.py | 17 +---------------- 1 file changed, 1 insertion(+), 16 deletions(-) diff --git a/lib/logitech_receiver/hidpp20.py b/lib/logitech_receiver/hidpp20.py index 8e58aa706a..0b9325eee5 100644 --- a/lib/logitech_receiver/hidpp20.py +++ b/lib/logitech_receiver/hidpp20.py @@ -1132,28 +1132,13 @@ def __init__(self, device): self.temp_supported = supported & 0x10 self.perm_supported = supported & 0x20 self.mode = (self.options >> 3) & 0x03 - if _log.isEnabledFor(_DEBUG): - _log.debug( - 'BACKLIGHT READ %x %x %x %x %x %x %x', self.mode, self.enabled, self.options, self.level, self.dho, self.dhi, - self.dpow - ) def write(self): self.options = (self.options & 0x07) | (self.mode << 3) - if _log.isEnabledFor(_DEBUG): - _log.debug( - 'BACKLIGHT WRITE %x %x %x %x %x %x %x', self.mode, self.enabled, self.options, self.level, self.dho, self.dhi, - self.dpow - ) level = self.level if self.mode == 0x3 else 0 data_bytes = _pack('