From 98fc45e97affe9fcd4531d2f41bbacc47f9599b4 Mon Sep 17 00:00:00 2001 From: Konstantin Lampalzer Date: Mon, 14 Feb 2022 15:10:05 +0100 Subject: [PATCH] Update Spi.py --- compLib/Spi.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/compLib/Spi.py b/compLib/Spi.py index 5ce69f9..90c08a5 100644 --- a/compLib/Spi.py +++ b/compLib/Spi.py @@ -209,9 +209,9 @@ class Spi(object): @staticmethod def health_check_loop(): while SPI_HEALTH: - if last_spi_call + 0.75 < time.time(): + if last_spi_call + 0.5 < time.time(): Spi.health_check() - time.sleep(0.5) + time.sleep(0.1) @staticmethod def get_version():