Commit 364f7c32 authored by Dave Newbold's avatar Dave Newbold

Tidying code

parent fb0b8f13
......@@ -56,6 +56,7 @@ class si5344:
def writeConfiguration(self, regSettingList):
for item in regSettingList:
self.writeRegister(int(item[0], 16), [int(item[1], 16)])
print item[0], item[1]
for item in regSettingList:
d = self.readRegister(int(item[0], 16), 1)
if int(item[1], 16) != int(d):
......
Markdown is supported
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