homieiot / homie-esp8266

💡 ESP8266 framework for Homie, a lightweight MQTT convention for the IoT
http://homieiot.github.io/homie-esp8266
MIT License
1.36k stars 308 forks source link

Homie.doDeepSleep; time_us in uint64_t #652

Closed sude22 closed 4 years ago

sude22 commented 4 years ago

Hi, just found here that the datatype for the deepsleep parameter changed to uint64_t with ESP8266 Arduino core 2.4.1.

Shouldn't the Homie.doDeepSleep method's parameter also be uint64_t to enable longer sleep durations than 71min?

Regards

sude22 commented 4 years ago

I created a PR...

bodiroga commented 4 years ago

Thanks @sude22! :+1:

stritti commented 4 years ago

PR: https://github.com/homieiot/homie-esp8266/pull/656