Skip to content

Commit 2f224a4

Browse files
committed
Fix device range to be 08-77
1 parent ab1d921 commit 2f224a4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

python/samples/i2cgui.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ def addrbutton(s):
117117
r = wx.RadioButton(self, label = s)
118118
r.Bind(wx.EVT_RADIOBUTTON, self.choose_addr)
119119
return r
120-
self.heat = {i:addrbutton("%02X" % i) for i in range(8, 112)}
120+
self.heat = {i:addrbutton("%02X" % i) for i in range(0x08, 0x78)}
121121
devgrid = wx.GridSizer(8, wx.Size(4, 6))
122122
for i,l in sorted(self.heat.items()):
123123
devgrid.Add(l)

0 commit comments

Comments
 (0)