Search for unsupported command fix
This commit is contained in:
parent
65220fbf6a
commit
bc09294b82
@ -2079,8 +2079,8 @@ class ELM:
|
|||||||
paramToSend += dataids.keys()[lvl]
|
paramToSend += dataids.keys()[lvl]
|
||||||
cmd = '22' + paramToSend
|
cmd = '22' + paramToSend
|
||||||
resp = self.send_cmd(cmd)
|
resp = self.send_cmd(cmd)
|
||||||
if any(s in resp for s in ['?', 'NR']):
|
if any(s in resp for s in ['?', 'NR']):
|
||||||
return False
|
return False
|
||||||
|
|
||||||
self.performanceModeLevel = level
|
self.performanceModeLevel = level
|
||||||
return True
|
return True
|
||||||
|
Loading…
x
Reference in New Issue
Block a user