aboutsummaryrefslogtreecommitdiffstats
path: root/klippy/extras/ads1x1x.py
diff options
context:
space:
mode:
authorKevin O'Connor <kevin@koconnor.net>2025-05-14 18:47:36 -0400
committerKevin O'Connor <kevin@koconnor.net>2025-06-04 13:46:28 -0400
commitd120a313b75a41e6d3ae1f53cda9dbd6e1d31615 (patch)
tree2af415dd787f570c7294cfdc0413c765a7f06dc3 /klippy/extras/ads1x1x.py
parent4d4b9684a53fa7e776914b222cdab21f870dad76 (diff)
downloadkutter-d120a313b75a41e6d3ae1f53cda9dbd6e1d31615.tar.gz
kutter-d120a313b75a41e6d3ae1f53cda9dbd6e1d31615.tar.xz
kutter-d120a313b75a41e6d3ae1f53cda9dbd6e1d31615.zip
docs: Note 'config' object shouldn't be accessed after initial load
Update Code_Overview.md to note that the config object should not be stored after the "config loading phase". Remove a few inadvertent cases where a 'config' object was stored in module member variables. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
Diffstat (limited to 'klippy/extras/ads1x1x.py')
-rw-r--r--klippy/extras/ads1x1x.py1
1 files changed, 0 insertions, 1 deletions
diff --git a/klippy/extras/ads1x1x.py b/klippy/extras/ads1x1x.py
index 1d72996f..10cd01f9 100644
--- a/klippy/extras/ads1x1x.py
+++ b/klippy/extras/ads1x1x.py
@@ -321,7 +321,6 @@ class ADS1X1X_pin:
def __init__(self, chip, config):
self.mcu = chip.mcu
self.chip = chip
- self.config = config
self.invalid_count = 0