summaryrefslogtreecommitdiff
path: root/kvmd/plugins/ugpio/pway.py
diff options
context:
space:
mode:
authorMaxim Devaev <[email protected]>2022-01-24 19:10:18 +0300
committerMaxim Devaev <[email protected]>2022-01-24 19:10:18 +0300
commit41d1471cd96a4aea0da000b0549a0087205091c3 (patch)
tree05d6865edef426885d2e08606f71b486bf0dd1bc /kvmd/plugins/ugpio/pway.py
parent2396e87b701009c57e21ecbe07696275716c5df5 (diff)
refactoring
Diffstat (limited to 'kvmd/plugins/ugpio/pway.py')
-rw-r--r--kvmd/plugins/ugpio/pway.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/kvmd/plugins/ugpio/pway.py b/kvmd/plugins/ugpio/pway.py
index aeff27e3..041aaf27 100644
--- a/kvmd/plugins/ugpio/pway.py
+++ b/kvmd/plugins/ugpio/pway.py
@@ -180,8 +180,8 @@ class Plugin(BaseUserGpioDriver): # pylint: disable=too-many-instance-attribute
def __send_channel(self, tty: serial.Serial, channel: int) -> None:
# Set a channel by sending PS [1-16]
- # Note that the recv is 0-based index, while send is 1-based. We add 1 to the "channel" to
- # normalize for the 1-based index on send
+ # Note that the recv is 0-based index, while send is 1-based
+ # We add 1 to the "channel" to normalize for the 1-based index on send
tty.write(b"PS %d\r" % (channel + 1))
tty.flush()