From 894afc911d04a7b6a46f88bf079b4ac7f5f9e9ff Mon Sep 17 00:00:00 2001 From: su530201 <olivier.kaufmann@umons.ac.be> Date: Wed, 18 Oct 2023 23:22:36 +0200 Subject: [PATCH] Fixes warning in raspberry --- ohmpi/hardware_components/raspberry_pi.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ohmpi/hardware_components/raspberry_pi.py b/ohmpi/hardware_components/raspberry_pi.py index d45ad095..4702fc96 100644 --- a/ohmpi/hardware_components/raspberry_pi.py +++ b/ohmpi/hardware_components/raspberry_pi.py @@ -37,7 +37,7 @@ class Ctl(CtlAbstract): # None interface for battery self.interfaces['none'] = None - # warnings.filterwarnings("error") # to filter out adafruit warning about setting I2C frequency + warnings.filterwarnings("error") # to filter out adafruit warning about setting I2C frequency # I2C try: self.interfaces['i2c'] = busio.I2C(board.SCL, board.SDA) # noqa -- GitLab