优化热电偶最大报错次数

This commit is contained in:
张开科 2024-11-25 17:12:23 +08:00
parent 55e60aecd2
commit 41c2cd3927

View File

@ -13,7 +13,7 @@ from . import bus
######################################################################
REPORT_TIME = 0.300
MAX_INVALID_COUNT = 3
MAX_INVALID_COUNT = 15
class SensorBase:
def __init__(self, config, chip_type, config_cmd=None, spi_mode=1):