From 16bd1382dfe13176b172da9fdc749e7f6567c56d Mon Sep 17 00:00:00 2001 From: Adeeb Shihadeh Date: Wed, 20 Mar 2024 19:36:42 -0700 Subject: [PATCH] reduce SPI timeouts in python lib (#1906) * reduce SPI timeouts in python lib * increase * little more --------- Co-authored-by: Comma Device --- python/spi.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/python/spi.py b/python/spi.py index d34a61d5..be4f7dcf 100644 --- a/python/spi.py +++ b/python/spi.py @@ -251,7 +251,7 @@ class PandaSpiHandle(BaseHandle): version_bytes = spi.readbytes(len(vers_str) + 2) if bytes(version_bytes).startswith(vers_str): break - if (time.monotonic() - start) > 0.01: + if (time.monotonic() - start) > 0.001: raise PandaSpiMissingAck rlen = struct.unpack("