diff options
author | Devaev Maxim <[email protected]> | 2020-09-12 22:16:14 +0300 |
---|---|---|
committer | Devaev Maxim <[email protected]> | 2020-09-12 22:16:14 +0300 |
commit | bddabc4742ebd130020efc14c53675bf5c96e134 (patch) | |
tree | 610e48a656b83c0f04094f71f319eea6a0e77cfb /kvmd/apps | |
parent | fa5e6735edababe8f1d429ec98162fb7d508e1e0 (diff) |
using libgpiod for the relay msd
Diffstat (limited to 'kvmd/apps')
-rw-r--r-- | kvmd/apps/cleanup/__init__.py | 5 |
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) |