summaryrefslogtreecommitdiff
path: root/kvmd/plugins/hid
diff options
context:
space:
mode:
Diffstat (limited to 'kvmd/plugins/hid')
-rw-r--r--kvmd/plugins/hid/spi.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/kvmd/plugins/hid/spi.py b/kvmd/plugins/hid/spi.py
index 7eaa447f..8af03483 100644
--- a/kvmd/plugins/hid/spi.py
+++ b/kvmd/plugins/hid/spi.py
@@ -81,7 +81,7 @@ class _SpiPhyConnection(BasePhyConnection):
deadline_ts = time.time() + self.__read_timeout
found = False
while time.time() < deadline_ts:
- for byte in self.__xfer(b"\x00" * (4 - len(response))):
+ for byte in self.__xfer(b"\x00" * (5 - len(response))):
if not found:
if byte != 0x33:
continue