Commit 609a5ea7 authored by Olivier Kaufmann's avatar Olivier Kaufmann
Browse files

Adds constant strategy

Showing with 0 additions and 2 deletions
+0 -2
......@@ -46,14 +46,12 @@ class Ctl(CtlAbstract):
warnings.resetwarnings()
# Extended I2C
warnings.filterwarnings("error") # to filter out adafruit warning about setting I2C frequency
try:
self.interfaces['i2c_ext'] = ExtendedI2C(4) # 4 is defined
except RuntimeWarning:
pass
except Exception as e:
self.exec_logger.warning(f'Could not initialize Extended I2C:\n{e}')
warnings.resetwarnings()
# modbus
try:
......
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