Cast TimerWakeup conversion factor as ULL (#3027)

This commit is contained in:
lbernstone 2019-08-20 07:45:18 -06:00 committed by Me No Dev
parent 2bda4a9617
commit ec40c4c96f

View File

@ -19,7 +19,7 @@ Author:
Pranav Cherukupalli <cherukupallip@gmail.com>
*/
#define uS_TO_S_FACTOR 1000000 /* Conversion factor for micro seconds to seconds */
#define uS_TO_S_FACTOR 1000000ULL /* Conversion factor for micro seconds to seconds */
#define TIME_TO_SLEEP 5 /* Time ESP32 will go to sleep (in seconds) */
RTC_DATA_ATTR int bootCount = 0;