Cast TimerWakeup conversion factor as ULL (#3027)
This commit is contained in:
parent
2bda4a9617
commit
ec40c4c96f
@ -19,7 +19,7 @@ Author:
|
|||||||
Pranav Cherukupalli <cherukupallip@gmail.com>
|
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) */
|
#define TIME_TO_SLEEP 5 /* Time ESP32 will go to sleep (in seconds) */
|
||||||
|
|
||||||
RTC_DATA_ATTR int bootCount = 0;
|
RTC_DATA_ATTR int bootCount = 0;
|
||||||
|
Loading…
Reference in New Issue
Block a user