Search for unsupported command fix

This commit is contained in:
Marianpol 2021-04-21 21:53:31 +02:00
parent 65220fbf6a
commit bc09294b82

View File

@ -2079,8 +2079,8 @@ class ELM:
paramToSend += dataids.keys()[lvl]
cmd = '22' + paramToSend
resp = self.send_cmd(cmd)
if any(s in resp for s in ['?', 'NR']):
return False
if any(s in resp for s in ['?', 'NR']):
return False
self.performanceModeLevel = level
return True