fix ESP:: getCpuFreqMHz
This commit is contained in:
parent
450ea0d211
commit
4a90aeebc9
@ -55,7 +55,7 @@ public:
|
|||||||
~EspClass() {}
|
~EspClass() {}
|
||||||
void restart();
|
void restart();
|
||||||
uint32_t getFreeHeap();
|
uint32_t getFreeHeap();
|
||||||
uint8_t getCpuFreqMHz(){ return F_CPU; }
|
uint8_t getCpuFreqMHz(){ return CONFIG_ESP32_DEFAULT_CPU_FREQ_MHZ; }
|
||||||
uint32_t getCycleCount();
|
uint32_t getCycleCount();
|
||||||
const char * getSdkVersion();
|
const char * getSdkVersion();
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user