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:
		
							parent
							
								
									ee6336a312
								
							
						
					
					
						commit
						cd5257ad78
					
				| @ -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(); | ||||
| 
 | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user