diff options
author | Kevin O'Connor <kevin@koconnor.net> | 2025-07-08 18:49:12 -0400 |
---|---|---|
committer | Kevin O'Connor <kevin@koconnor.net> | 2025-07-08 18:49:12 -0400 |
commit | 42fbf8256f37b2b7ab77304184e9d8909e5a9612 (patch) | |
tree | 618edeca2cb41c8f33bcd6b1fb8588ed4acb08ab | |
parent | 9346ad1914dc50d12f1e5efe630448bf763d1469 (diff) | |
download | kutter-42fbf8256f37b2b7ab77304184e9d8909e5a9612.tar.gz kutter-42fbf8256f37b2b7ab77304184e9d8909e5a9612.tar.xz kutter-42fbf8256f37b2b7ab77304184e9d8909e5a9612.zip |
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 <kevin@koconnor.net>
-rw-r--r-- | klippy/extras/ads1x1x.py | 1 |
1 files changed, 1 insertions, 0 deletions
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 |