Searched refs:cmd_value (Results 1 – 2 of 2) sorted by relevance
86 bool cmd_value = false; in OnFlasherSetCommand() local88 params.GetBoolean("_on", &cmd_value)) { in OnFlasherSetCommand()91 << ", _on: " << (cmd_value ? "true" : "false"); in OnFlasherSetCommand()94 int new_state = cmd_value ? 1 : 0; in OnFlasherSetCommand()98 if (cmd_value != cur_state) { in OnFlasherSetCommand()
146 cmd_value = 1 if value else 0147 utils.run('%s --%s %d' % (self._INPUTCONTROL, setting, cmd_value))