mirror of
https://github.com/Klipper3d/klipper.git
synced 2025-08-05 21:14:05 -06: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
1 changed files with 1 additions and 0 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue