Skip to content
Snippets Groups Projects
Commit 7bef099e authored by Paulus Kruger's avatar Paulus Kruger
Browse files

Switch enabled by default

parent 6736be0b
No related branches found
No related tags found
No related merge requests found
...@@ -8,7 +8,7 @@ class i2c_switch(i2c): ...@@ -8,7 +8,7 @@ class i2c_switch(i2c):
i2c.__init__(self,config) i2c.__init__(self,config)
self.SWaddr=config['devreg'][0]['addr'] self.SWaddr=config['devreg'][0]['addr']
self.CurrentChannel=0 self.CurrentChannel=0
self.NoSwitch=True; self.NoSwitch=False;
logging.info("i2c switch at address "+str(self.SWaddr)) logging.info("i2c switch at address "+str(self.SWaddr))
if self.NoSwitch: if self.NoSwitch:
logging.warn("i2c switch disabled!") logging.warn("i2c switch disabled!")
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment