ESP.getCpuFreqMHz fix (#3007)

* ESP.getCpuFreqMHz was returning the CONFIG_ variable.  Now calls the getCpuFrequencyMhz function.

* Changed the Esp function to uint32_t to match
This commit is contained in:
lbernstone 2019-08-20 07:48:26 -06:00 committed by Me No Dev
parent ee6336a312
commit cd5257ad78

View File

@ -75,7 +75,7 @@ public:
uint32_t getMaxAllocPsram();
uint8_t getChipRevision();
uint8_t getCpuFreqMHz(){ return CONFIG_ESP32_DEFAULT_CPU_FREQ_MHZ; }
uint32_t getCpuFreqMHz(){ return getCpuFrequencyMhz(); }
uint32_t getCycleCount();
const char * getSdkVersion();