Update Spi.py

This commit is contained in:
Konstantin Lampalzer 2022-02-14 15:10:05 +01:00 committed by GitHub
parent e1e03933d2
commit 98fc45e97a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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():