From bddabc4742ebd130020efc14c53675bf5c96e134 Mon Sep 17 00:00:00 2001 From: Devaev Maxim Date: Sat, 12 Sep 2020 22:16:14 +0300 Subject: using libgpiod for the relay msd --- kvmd/apps/cleanup/__init__.py | 5 ----- 1 file changed, 5 deletions(-) (limited to 'kvmd/apps/cleanup/__init__.py') 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) -- cgit v1.2.3