Skip to content

Commit

Permalink
Cast TimerWakeup conversion factor as ULL (#3027)
Browse files Browse the repository at this point in the history
  • Loading branch information
lbernstone authored and me-no-dev committed Aug 20, 2019
1 parent 2bda4a9 commit ec40c4c
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit ec40c4c

Please sign in to comment.