Removes some dead-code and imports

This commit is contained in:
Simon Albinsson
2018-04-23 19:38:46 +00:00
parent 56d1829205
commit d08601a82a
2 changed files with 0 additions and 2 deletions

View File

@@ -45,7 +45,6 @@ class Sgp30():
crc = r[2::3] == [Crc8().hash(i) for i in a ]
return(crc,a)
return (a,crc_ok)
def read_write(self,cmd):
write = i2c_msg.write(self._device_addr,cmd.commands)
if cmd.replylen <= 0 :

View File

@@ -1,4 +1,3 @@
from smbus2 import i2c_msg
from collections import namedtuple
from .context import sgp30