Update ESP class

This commit is contained in:
me-no-dev
2017-02-11 23:34:43 +02:00
parent a28a7f12d5
commit 450ea0d211
2 changed files with 9 additions and 36 deletions

View File

@ -55,15 +55,12 @@ public:
~EspClass() {}
void restart();
uint32_t getFreeHeap();
uint32_t getChipId();
uint8_t getCpuFreqMHz(){ return F_CPU; }
uint32_t getCycleCount();
const char * getSdkVersion();
void deepSleep(uint32_t time_us);
uint8_t getCpuFreqMHz();
uint32_t getFlashChipSize();
uint32_t getFlashChipSpeed();
FlashMode_t getFlashChipMode();
@ -76,9 +73,6 @@ public:
bool flashWrite(uint32_t offset, uint32_t *data, size_t size);
bool flashRead(uint32_t offset, uint32_t *data, size_t size);
bool eraseConfig();
uint32_t getCycleCount();
};
extern EspClass ESP;