Fix for scan with multiple ids
This commit is contained in:
parent
807782ef69
commit
6bfaaf5376
@ -655,7 +655,7 @@ class ScanEcus:
|
|||||||
|
|
||||||
if len( req )/2==3: rrsp = rrsp[3:]
|
if len( req )/2==3: rrsp = rrsp[3:]
|
||||||
|
|
||||||
if int(row[base+3])*3+2<=len(rrsp):
|
if int(row[base+3])*3+2 > len(rrsp):
|
||||||
return False
|
return False
|
||||||
|
|
||||||
byte = int(rrsp[int(row[base+3])*3:int(row[base+3])*3+2],16)
|
byte = int(rrsp[int(row[base+3])*3:int(row[base+3])*3+2],16)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user