From 9cb5582565aa2301a238ca382a32dc80106f6c15 Mon Sep 17 00:00:00 2001 From: Devaev Maxim Date: Thu, 10 Sep 2020 09:31:05 +0300 Subject: only available gpio modes --- kvmd/apps/cleanup/__init__.py | 6 ------ 1 file changed, 6 deletions(-) (limited to 'kvmd/apps/cleanup/__init__.py') diff --git a/kvmd/apps/cleanup/__init__.py b/kvmd/apps/cleanup/__init__.py index bb9b3b71..708e3399 100644 --- a/kvmd/apps/cleanup/__init__.py +++ b/kvmd/apps/cleanup/__init__.py @@ -60,12 +60,6 @@ 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" - # ]), ]: if pin >= 0: logger.info("Writing 0 to GPIO pin=%d (%s)", pin, name) -- cgit v1.2.3