mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-11 00:37:50 -06:00
Bugfixes to usb printing
This commit is contained in:
parent
34aac653b4
commit
a07781fa26
4 changed files with 11 additions and 8 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue