Commit 8382975a authored by Olivier Kaufmann's avatar Olivier Kaufmann
Browse files

Tries to fix adafruit warning

Showing with 3 additions and 3 deletions
+3 -3
......@@ -44,12 +44,12 @@ class Ctl(CtlAbstract):
except RuntimeWarning:
pass
warnings.resetwarnings()
# Extended I2C
try:
self.interfaces['i2c_ext'] = ExtendedI2C(4) # 4 is defined
warnings.resetwarnings()
except RuntimeWarning:
pass
# except RuntimeWarning:
# pass
except Exception as e:
self.exec_logger.warning(f'Could not initialize Extended I2C:\n{e}')
......
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