From 977c8a1ade70969b0bb588ac119105e6b4f29394 Mon Sep 17 00:00:00 2001 From: Maxim Devaev Date: Fri, 24 Sep 2021 09:33:15 +0300 Subject: refactoring --- kvmd/plugins/msd/relay/__init__.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'kvmd/plugins/msd/relay/__init__.py') diff --git a/kvmd/plugins/msd/relay/__init__.py b/kvmd/plugins/msd/relay/__init__.py index 6455ea66..0e431e46 100644 --- a/kvmd/plugins/msd/relay/__init__.py +++ b/kvmd/plugins/msd/relay/__init__.py @@ -99,8 +99,8 @@ class Plugin(BaseMsd): # pylint: disable=too-many-instance-attributes "sync_chunk_size": Option(4194304, type=functools.partial(valid_number, min=1024)), "gpio_device": Option("/dev/gpiochip0", type=valid_abs_path, unpack_as="gpio_device_path"), - "target_pin": Option(-1, type=valid_gpio_pin), - "reset_pin": Option(-1, type=valid_gpio_pin), + "target_pin": Option(-1, type=valid_gpio_pin), + "reset_pin": Option(-1, type=valid_gpio_pin), "reset_inverted": Option(False, type=valid_bool), "device": Option("", type=valid_abs_path, unpack_as="device_path"), -- cgit v1.2.3