datacute / DoubleResetDetector

Library to detect a double reset, using ESP8266 RTC User Memory
MIT License
87 stars 16 forks source link

small error when compiling with paltformio #10

Closed jascdk closed 4 years ago

jascdk commented 4 years ago

Hi

I get this "error" when compiling with platformio.

Is there a way to fix this?

.pio/libdeps/d1_mini/DoubleResetDetector_ID1679/src/DoubleResetDetector.cpp: In member function 'void DoubleResetDetector::loop()': .pio/libdeps/d1_mini/DoubleResetDetector_ID1679/src/DoubleResetDetector.cpp:34:42: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (waitingForDoubleReset && millis() > timeout) stop();

datacute commented 4 years ago

Thanks. Fixed in v1.0.3