From 21149b206f320cc3b46dab63b5ee8e2e8ee24535 Mon Sep 17 00:00:00 2001 From: su530201 <olivier.kaufmann@umons.ac.be> Date: Wed, 18 Oct 2023 23:23:48 +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 4702fc96..d45ad095 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