Commit 73ea34c6 authored by Olivier Kaufmann's avatar Olivier Kaufmann
Browse files

Tries to fix "dict has no attribute bus" error

Showing with 1 addition and 1 deletion
+1 -1
......@@ -208,7 +208,7 @@ class Rx(RxAbstract):
self.ctl = ctl_module.Ctl()
elif isinstance(self.ctl, dict):
print(ctl_module)
self.ctl = ctl_module.Ctl(self.ctl)
self.ctl = ctl_module.Ctl(**self.ctl)
print(f'ctl: {self.ctl}, {type(self.ctl)}') # TODO: delete me!
# ADS1115 for voltage measurement (MN)
self._ads_voltage_address = 0x49
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment