Commit 55c00ab8 authored by Dave Newbold's avatar Dave Newbold

Tidying code

parent 364f7c32
......@@ -59,5 +59,5 @@ class si5344:
print item[0], item[1]
for item in regSettingList:
d = self.readRegister(int(item[0], 16), 1)
if int(item[1], 16) != int(d):
if int(item[1], 16) != int(d[0]):
print "Config error", item[0], item[1], hex(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