summaryrefslogtreecommitdiff
path: root/kvmd/plugins/hid/_mcu
diff options
context:
space:
mode:
authorDevaev Maxim <[email protected]>2020-11-12 22:36:22 +0300
committerDevaev Maxim <[email protected]>2020-11-12 22:36:22 +0300
commit180251ec591245ca2025341214e255e3952184d7 (patch)
tree9d7de539934e790f8593080fbd439aa565ef7297 /kvmd/plugins/hid/_mcu
parent87cc8cf7b0e00f7f0a9badf551067aafad6da4ce (diff)
refactoring
Diffstat (limited to 'kvmd/plugins/hid/_mcu')
-rw-r--r--kvmd/plugins/hid/_mcu/gpio.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/kvmd/plugins/hid/_mcu/gpio.py b/kvmd/plugins/hid/_mcu/gpio.py
index 87f4b547..40031e33 100644
--- a/kvmd/plugins/hid/_mcu/gpio.py
+++ b/kvmd/plugins/hid/_mcu/gpio.py
@@ -54,7 +54,7 @@ class Gpio:
assert self.__reset_line is None
self.__chip = gpiod.Chip(env.GPIO_DEVICE_PATH)
self.__reset_line = self.__chip.get_line(self.__reset_pin)
- self.__reset_line.request("kvmd::hid-mcu::reset", gpiod.LINE_REQ_DIR_OUT, default_vals=[int(self.__reset_inverted)])
+ self.__reset_line.request("kvmd::hid::reset", gpiod.LINE_REQ_DIR_OUT, default_vals=[int(self.__reset_inverted)])
def close(self) -> None:
if self.__chip: