def update(self, sec, wait): libdbc.can_update(self.can, sec, wait) return self.update_vl(sec)
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)