summaryrefslogtreecommitdiff
path: root/kvmd/apps
diff options
context:
space:
mode:
authorDevaev Maxim <[email protected]>2020-09-12 22:16:14 +0300
committerDevaev Maxim <[email protected]>2020-09-12 22:16:14 +0300
commitbddabc4742ebd130020efc14c53675bf5c96e134 (patch)
tree610e48a656b83c0f04094f71f319eea6a0e77cfb /kvmd/apps
parentfa5e6735edababe8f1d429ec98162fb7d508e1e0 (diff)
using libgpiod for the relay msd
Diffstat (limited to 'kvmd/apps')
-rw-r--r--kvmd/apps/cleanup/__init__.py5
1 files changed, 0 insertions, 5 deletions
diff --git a/kvmd/apps/cleanup/__init__.py b/kvmd/apps/cleanup/__init__.py
index ce321f42..795841c5 100644
--- a/kvmd/apps/cleanup/__init__.py
+++ b/kvmd/apps/cleanup/__init__.py
@@ -48,11 +48,6 @@ def _clear_gpio(config: Section) -> None:
("atx_gpio/power_switch", config.atx.power_switch_pin),
("atx_gpio/reset_switch", config.atx.reset_switch_pin),
] if config.atx.type == "gpio" else []),
-
- *([
- ("msd_relay/target", config.msd.target_pin),
- ("msd_relay/reset", config.msd.reset_pin),
- ] if config.msd.type == "relay" else []),
]:
if pin >= 0:
logger.info("Writing 0 to GPIO pin=%d (%s)", pin, name)