mirror of
https://github.com/andreili/klipper.git
synced 2025-08-23 19:34:06 +02:00
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>
This commit is contained in:
parent
9346ad1914
commit
42fbf8256f
@ -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
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user