Bugfixes to usb printing

This commit is contained in:
Jaime van Kessel 2015-04-17 10:40:44 +02:00
parent 34aac653b4
commit a07781fa26
4 changed files with 11 additions and 8 deletions

View file

@ -34,7 +34,7 @@ def readHex(filename):
if recType == 0:#Data record
while len(data) < addr + recLen:
data.append(0)
for i in xrange(0, recLen):
for i in range(0, recLen):
data[addr + i] = int(line[i*2+9:i*2+11], 16)
elif recType == 1: #End Of File record
pass