parent
ca3dff73ad
commit
293255ee48
@ -163,7 +163,7 @@ class ScanEcus:
|
|||||||
|
|
||||||
self.elm.init_can()
|
self.elm.init_can()
|
||||||
#print self.allecus
|
#print self.allecus
|
||||||
for ecu, row in sorted(self.allecus.iteritems(),key = lambda (x,y) :y['idf']+y['protocol']):
|
for ecu, row in sorted(self.allecus.iteritems(),key = lambda (x,y) :y['idf']+y['protocol']+str(1/float(len(y['ids'])))):
|
||||||
if (self.allecus[ecu]['pin']=='can' and
|
if (self.allecus[ecu]['pin']=='can' and
|
||||||
self.allecus[ecu]['pin1']==canH and
|
self.allecus[ecu]['pin1']==canH and
|
||||||
self.allecus[ecu]['pin2']==canL):
|
self.allecus[ecu]['pin2']==canL):
|
||||||
|
Loading…
x
Reference in New Issue
Block a user