Skip to content

Commit 73813bb

Browse files
authored
Fixes EspClass::deepSleep(64 bits)
This will change time in microseconds from 32 bits to 64 bits as defined in IDF.
1 parent b2e7338 commit 73813bb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: cores/esp32/Esp.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,7 @@ unsigned long long operator"" _GB(unsigned long long x)
131131

132132
EspClass ESP;
133133

134-
void EspClass::deepSleep(uint32_t time_us)
134+
void EspClass::deepSleep(uint64_t time_us)
135135
{
136136
esp_deep_sleep(time_us);
137137
}

0 commit comments

Comments
 (0)