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;