diff options
author | Devaev Maxim <[email protected]> | 2020-11-12 20:49:33 +0300 |
---|---|---|
committer | Devaev Maxim <[email protected]> | 2020-11-12 20:49:33 +0300 |
commit | 0984f0cb36c5881669010c62e986cc8bc7fe019a (patch) | |
tree | 784ab50c3e8baaf766b72dfd6c33e3806b05dd95 /kvmd/plugins/hid | |
parent | 3d75acf7521a5780b63f3cab7dcfd5a4e778392d (diff) |
fixed xfer answer
Diffstat (limited to 'kvmd/plugins/hid')
-rw-r--r-- | kvmd/plugins/hid/spi.py | 2 |
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 |