From 6923d79cbb1c98f3503da006bff278e1cd673e77 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jan=20Kundr=C3=A1t?= Date: Sun, 30 Apr 2023 20:21:05 +0200 Subject: [PATCH] hid: fix wrong variable name That's the endless joy of languages with no compile-time variable lookup. Fixes: ea01ab3 ("asyncio-based drivers for USB devices that present as HID") --- dali/driver/hid.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dali/driver/hid.py b/dali/driver/hid.py index 8b62c00..37abb3a 100644 --- a/dali/driver/hid.py +++ b/dali/driver/hid.py @@ -549,7 +549,7 @@ async def _bus_watch(self): current_command = None continue else: - self._log.debug("Failed config command (second frame didn't match): %s", current_comment) + self._log.debug("Failed config command (second frame didn't match): %s", current_command) self.bus_traffic._invoke(current_command, None, True) current_command = None # Fall through to continue processing frame