From 42fbf8256f37b2b7ab77304184e9d8909e5a9612 Mon Sep 17 00:00:00 2001 From: Kevin O'Connor Date: Tue, 8 Jul 2025 18:49:12 -0400 Subject: [PATCH] ads1x1x: Revert incorrect removal of assignment to self.config Commit d120a313b incorrectly removed an assignment to self.config - in this instance the reference was to a local variable not related to the global configfile storage. Signed-off-by: Kevin O'Connor --- klippy/extras/ads1x1x.py | 1 + 1 file changed, 1 insertion(+) diff --git a/klippy/extras/ads1x1x.py b/klippy/extras/ads1x1x.py index 10cd01f9..1d72996f 100644 --- a/klippy/extras/ads1x1x.py +++ b/klippy/extras/ads1x1x.py @@ -321,6 +321,7 @@ class ADS1X1X_pin: def __init__(self, chip, config): self.mcu = chip.mcu self.chip = chip + self.config = config self.invalid_count = 0