From a33d278ca18011ae94579a50cc0702ac2d1e75ef Mon Sep 17 00:00:00 2001 From: Stephen Denne Date: Sat, 7 Mar 2020 19:10:40 +1300 Subject: [PATCH] Correct timeout data type --- library.properties | 2 +- src/DoubleResetDetector.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/library.properties b/library.properties index 45b1acc..867ed75 100644 --- a/library.properties +++ b/library.properties @@ -1,5 +1,5 @@ name=DoubleResetDetector -version=1.0.2 +version=1.0.3 author=Stephen Denne maintainer=Stephen Denne sentence=Library to detect a double reset, using ESP8266 RTC Memory. diff --git a/src/DoubleResetDetector.h b/src/DoubleResetDetector.h index 2eff470..fa038b4 100644 --- a/src/DoubleResetDetector.h +++ b/src/DoubleResetDetector.h @@ -28,7 +28,7 @@ class DoubleResetDetector void stop(); private: - int timeout; + unsigned long timeout; int address; bool waitingForDoubleReset; bool detectRecentlyResetFlag();