diff options
Diffstat (limited to 'kvmd/apps/cleanup/__init__.py')
-rw-r--r-- | kvmd/apps/cleanup/__init__.py | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/kvmd/apps/cleanup/__init__.py b/kvmd/apps/cleanup/__init__.py index ca1e8faf..bb9b3b71 100644 --- a/kvmd/apps/cleanup/__init__.py +++ b/kvmd/apps/cleanup/__init__.py @@ -61,16 +61,16 @@ def _clear_gpio(config: Section) -> None: ("streamer/cap", config.streamer.cap_pin), ("streamer/conv", config.streamer.conv_pin), - *([ - (f"gpio/{channel}", params.pin) - for (channel, params) in config.gpio.scheme.items() - if params.mode == "output" - ]), + # *([ + # (f"gpio/{channel}", params.pin) + # for (channel, params) in config.gpio.scheme.items() + # if params.mode == "output" + # ]), ]: if pin >= 0: logger.info("Writing 0 to GPIO pin=%d (%s)", pin, name) try: - gpio.set_output(pin, initial=False) + gpio.set_output(pin, False) except Exception: logger.exception("Can't clear GPIO pin=%d (%s)", pin, name) |