Fix missing parameter
This commit is contained in:
parent
7dadd9c75b
commit
6acd9208c3
|
@ -172,7 +172,7 @@ def read3(dataport, addr, d):
|
||||||
def write(dataport, addr, d):
|
def write(dataport, addr, d):
|
||||||
global packet
|
global packet
|
||||||
|
|
||||||
d = dataport.recvmore(BLKSZ + 4)
|
d = dataport.recvmore(d, BLKSZ + 4)
|
||||||
|
|
||||||
if d[1] == 0x02:
|
if d[1] == 0x02:
|
||||||
file = file1
|
file = file1
|
||||||
|
|
Loading…
Reference in New Issue