Searched refs:gpio_value (Results 1 – 1 of 1) sorted by relevance
/external/autotest/server/cros/servo/ |
D | servo.py | 471 def set(self, gpio_name, gpio_value): argument 477 self.set_nocheck(gpio_name, gpio_value) 479 while gpio_value != self.get(gpio_name) and retry_count: 480 logging.warning("%s != %s, retry %d", gpio_name, gpio_value, 485 assert gpio_value == self.get(gpio_name), \ 486 'Servo failed to set %s to %s' % (gpio_name, gpio_value) 489 def set_nocheck(self, gpio_name, gpio_value): argument 495 assert gpio_name and gpio_value 496 logging.info('Setting %s to %s', gpio_name, gpio_value) 498 self._server.set(gpio_name, gpio_value) [all …]
|