From 2e7ec40d2ba3a7146f9a59351eee7e9e273b0404 Mon Sep 17 00:00:00 2001 From: olkal Date: Tue, 29 Sep 2020 22:28:22 +0200 Subject: [PATCH] 1.2.3 --- library.properties | 2 +- src/HX711_ADC.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/library.properties b/library.properties index 9e3ec6b..6cdc967 100644 --- a/library.properties +++ b/library.properties @@ -1,5 +1,5 @@ name=HX711_ADC -version=1.2.2 +version=1.2.3 author=Olav Kallhovd maintainer=Olav Kallhovd sentence=Library for the HX711 24-bit ADC for weight scales. diff --git a/src/HX711_ADC.h b/src/HX711_ADC.h index c76b2a7..30b3018 100644 --- a/src/HX711_ADC.h +++ b/src/HX711_ADC.h @@ -109,7 +109,7 @@ class HX711_ADC bool tareTimeoutFlag; bool tareTimeoutDisable = 0; int samplesInUse = SAMPLES; - long lastSmoothedData; + long lastSmoothedData = 0; bool dataOutOfRange = 0; unsigned long lastDoutLowTime = 0; bool signalTimeoutFlag = 0;