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:
Kevin O'Connor 2025-07-08 18:49:12 -04:00
parent 9346ad1914
commit 42fbf8256f

View file

@ -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