Commit e8bb0db0 authored by Rodrigo Garcia's avatar Rodrigo Garcia Committed by me-no-dev

Fixes EspClass::deepSleep(64 bits) (#9077)

* Fixes EspClass::deepSleep(64 bits)

This will change time in microseconds from 32 bits to 64 bits as defined in IDF.

* updates function declaration
parent 7d088042
......@@ -119,7 +119,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);
}
......
......@@ -83,7 +83,7 @@ public:
inline uint32_t getCycleCount() __attribute__((always_inline));
const char * getSdkVersion();
void deepSleep(uint32_t time_us);
void deepSleep(uint64_t time_us);
uint32_t getFlashChipSize();
uint32_t getFlashChipSpeed();
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment