Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixes EspClass::deepSleep(64 bits) #9077

Merged
merged 2 commits into from
Jan 8, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion cores/esp32/Esp.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ unsigned long long operator"" _GB(unsigned long long x)

EspClass ESP;

void EspClass::deepSleep(uint32_t time_us)
void EspClass::deepSleep(uint64_t time_us)
{
esp_deep_sleep(time_us);
}
Expand Down
2 changes: 1 addition & 1 deletion cores/esp32/Esp.h
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ class EspClass
const char * getSdkVersion(); //version of ESP-IDF
const char * getCoreVersion();//version of this core

void deepSleep(uint32_t time_us);
void deepSleep(uint64_t time_us);

uint32_t getFlashChipSize();
uint32_t getFlashChipSpeed();
Expand Down