Ejemplo n.º 1
0
 def update(self, sec, wait):
     libdbc.can_update(self.can, sec, wait)
     return self.update_vl(sec)
Ejemplo n.º 2
0
 def update(self, sec, wait):
   """Returns if the update was successfull (e.g. no rcv timeout happened)"""
   r = libdbc.can_update(self.can, sec, wait)
   return bool(r >= 0), self.update_vl(sec)