-
Notifications
You must be signed in to change notification settings - Fork 7.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Cast TimerWakeup conversion factor as ULL (#3027)
- Loading branch information
1 parent
2bda4a9
commit ec40c4c
Showing
1 changed file
with
1 addition
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -19,7 +19,7 @@ Author: | |
Pranav Cherukupalli <[email protected]> | ||
*/ | ||
|
||
#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; | ||
|