fix ESP:: getCpuFreqMHz

This commit is contained in:
me-no-dev 2017-02-11 23:36:16 +02:00
parent 450ea0d211
commit 4a90aeebc9

View File

@ -55,7 +55,7 @@ public:
~EspClass() {}
void restart();
uint32_t getFreeHeap();
uint8_t getCpuFreqMHz(){ return F_CPU; }
uint8_t getCpuFreqMHz(){ return CONFIG_ESP32_DEFAULT_CPU_FREQ_MHZ; }
uint32_t getCycleCount();
const char * getSdkVersion();