mirror of
https://github.com/mofeng-git/One-KVM.git
synced 2025-12-12 09:10:30 +08:00
fixed xfer answer
This commit is contained in:
parent
3d75acf752
commit
0984f0cb36
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user