Fix for scan with multiple ids

This commit is contained in:
ShrLnm 2022-08-07 06:40:05 +00:00
parent 807782ef69
commit 6bfaaf5376

View File

@ -655,7 +655,7 @@ class ScanEcus:
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
byte = int(rrsp[int(row[base+3])*3:int(row[base+3])*3+2],16)